#234F9F#234F9F
#234F9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.139 H 261.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #234F9F |
|---|---|
| RGB | rgb(35, 79, 159) |
| HSL | hsl(219, 64%, 38%) |
| HSV | hsv(219, 78%, 62%) |
| CMYK | cmyk(78%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.91, 14.60, -47.80) |
| CIE-LCH | lch(34.91, 49.98, 286.98°) |
| OKLab | oklab(44.37% -0.0214 -0.1374) |
| OKLCH | oklch(44.37% 0.139 261.2) |
| XYZ | xyz(9.7449, 8.4514, 33.9119) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.90
Dusk Blue
#26538D
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 3.44
Denim Blue
#3B5B92
ΔE00 4.59
Light Navy
#155084
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#234F9F #9F7323
analogous
#238D9F #234F9F #35239F
triadic
#234F9F #9F234F #4F9F23
tetradic
#234F9F #9F238D #9F7323 #239F35
square
#234F9F #9F238D #9F7323 #239F35
split-complementary
#234F9F #9F3523 #8D9F23
monochromatic
#0D1D3B #18366D #234F9F #2E68D1 #608CDC
Accessibility & contrast
On white
7.81
#234F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#234F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #234F9F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##234F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##234F9F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #234f9f; /* rgb */ color: rgb(35, 79, 159); /* oklch */ color: oklch(44.4% 0.139 261.2);
Tailwind
colors: {
custom: {
50: '#717fbc',
500: '#234f9f',
950: '#000000',
},
}SCSS
$custom: #234f9f; $custom-light: #717fbc; $custom-dark: #000000;
JSON
{
"hex": "#234f9f",
"rgb": {
"r": 35,
"g": 79,
"b": 159
},
"hsl": {
"h": 218.71,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.44368,
"c": 0.1391,
"h": 261.2
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#234F9F
secondary
#C19D5D
accent
#AC41E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81