Skip to content

#263f71

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
38, 63, 113
HSL
220°, 50%, 30%
CMYK
66, 44, 0, 56
Luminance
0.0516

At a glance

Every number on this page in one read: what #263f71 is made of, how bright it looks, and which way it leans.

Hex
#263f71
Hue
220°
blue
Saturation
50%
vivid
Lightness
30%
dark
Brightness
44%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0516
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
10.34:1
Closest name
Dark Slate Blue
ΔE2000 8.8
Where it sits
Hue220° of 360°
Saturation50%
Lightness30%
Temperature
Warm ← → Cool94% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#263f71
RGBrgb(38, 63, 113)
HSLhsl(220, 50%, 30%)
CMYKcmyk(66%, 44%, 0%, 56%)
LABlab(27.2 7.9 -31.8)
LCHlch(27.2 32.8 284.0)
OKLCHoklch(0.375 0.091 262.8)
Decimal2506609
Display P3color(display-p3 0.149 0.247 0.443)

Copy-ready code

/* CSS */
color: #263f71;
background-color: #263f71;
/* Tailwind (arbitrary) */
class="text-[#263f71] bg-[#263f71]"
/* SCSS */
$brand: #263f71;
/* SwiftUI */
Color(red: 0.149, green: 0.247, blue: 0.443)
/* Android */
Color.parseColor("#263f71")
/* Flutter */
Color(0xFF263F71)
/* Python / OpenCV (BGR) */
(113, 63, 38)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #263f71 · 10.34:1
Use #ffffffAAA at every size.
Aa
White text · 10.34:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.03:1
AA fail · AA large fail · AAA fail
Reading the other direction: #263f71 as text scores 10.34:1 on white and 2.03:1 on black.

Accessibility — WCAG contrast

Aa
#263f71 on white: 10.34:1
AA ✓ pass · AA-large · AAA
Aa
#263f71 on black: 2.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #284473
deuteranopia · #1D3D70
tritanopia · #004A52

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #263f71 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F6FA
#EAEEF6
#CFD9EC
#ABBEE3
#819DD5
#577CC7
#3E66B7
#335599
#263f71
#213459
#152038
Base = 800Lightest = 50 · #F4F6FADarkest = 950 · #152038
:root {
  --brand-50: #F4F6FA;
  --brand-100: #EAEEF6;
  --brand-200: #CFD9EC;
  --brand-300: #ABBEE3;
  --brand-400: #819DD5;
  --brand-500: #577CC7;
  --brand-600: #3E66B7;
  --brand-700: #335599;
  --brand-800: #263f71;
  --brand-900: #213459;
  --brand-950: #152038;
  --brand: #263f71;
  --brand-ink: #ffffff;
}

Colors that work with #263f71

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C2CFEA
Hairlines and dividers
Muted text#4B659B
Captions on the surface
Accent#744523
Second voice, not a rival
Dark variant#20355F
Hover, pressed, headers
Light variant#ECF0F9
Selected rows, tints
Dark surface#141924
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #263f71

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#715826
Analogous left#266471
Analogous right#322671
Split-complement 1#713226
Split-complement 2#647126
Triadic 1#71263F
Triadic 2#3F7126
Tetradic#712664

RGB percentages

Red14.9%
Green24.7%
Blue44.3%

CMYK percentages

Cyan66.4%
Magenta44.2%
Yellow0.0%
Key (black)55.7%

Color previews

#263f71 text on a black background

contrast 2.03:1

Card sample

#263f71 text on a white background

contrast 10.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #263f71;
Background color
Panel with #263f71 background
background-color: #263f71;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #263f71;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(38, 63, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 63, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263f71;
background: linear-gradient(135deg, #263f71, #3F2671);

Monochromatic scale

Palettes built from #263f71

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#263f71 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#263f71, answered

What color is #263f71?

#263f71 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 8.8). It sits at 220° on the hue wheel with 50% saturation and 30% lightness, which reads as cool.

What is the RGB value of #263f71?

rgb(38, 63, 113) — 38 red, 63 green and 113 blue out of 255, or 14.9% / 24.7% / 44.3% by channel.

Is #263f71 a light or a dark color?

It is a dark color. Relative luminance is 0.0516 and perceived brightness is 25%, so white text on it reaches 10.34:1.

Should I use black or white text on #263f71?

White. It scores 10.34:1 against #263f71, versus 2.03:1 for black — AAA at any size.

What is the complementary color of #263f71?

#715826 sits directly opposite on the wheel. Softer options are the split-complements #713226 and #647126, which give the same contrast with far less vibration.

What colors go well with #263f71?

For interface work: #F4F6FA as the surface, #C2CFEA for borders, #4B659B for secondary text, #744523 as an accent and #20355F for hover and pressed states. For a palette, the analogous pair #266471 and #322671 stays calm, while #715826 is the loudest partner.

What is #263f71 in CMYK for printing?

cmyk(66%, 44%, 0%, 56%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #263f71 warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #282671; nudged cooler, #244673.

Work with #263f71 in the Color Lab