#233F8B#233F8B
#233F8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.131 H 265.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #233F8B |
|---|---|
| RGB | rgb(35, 63, 139) |
| HSL | hsl(224, 60%, 34%) |
| HSV | hsv(224, 75%, 55%) |
| CMYK | cmyk(74.8%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(28.84, 17.59, -45.42) |
| CIE-LCH | lch(28.84, 48.71, 291.17°) |
| OKLab | oklab(39.29% -0.0104 -0.1307) |
| OKLCH | oklch(39.29% 0.131 265.5) |
| XYZ | xyz(7.1292, 5.7757, 25.1602) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.51
Darkish Blue
#014182
ΔE00 4.20
Cobalt
#0047AB
ΔE00 5.07
Twilight Blue
#0A437A
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.85
Blueberry
#464196
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F8B #8B6F23
analogous
#23738B #233F8B #3B238B
triadic
#233F8B #8B233F #3F8B23
tetradic
#233F8B #8B2373 #8B6F23 #238B3B
square
#233F8B #8B2373 #8B6F23 #238B3B
split-complementary
#233F8B #8B3B23 #738B23
monochromatic
#0A1329 #17295A #233F8B #2F55BC #5477D4
Accessibility & contrast
On white
9.74
#233F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#233F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F8B
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F8B | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #233f8b; /* rgb */ color: rgb(35, 63, 139); /* oklch */ color: oklch(39.3% 0.131 265.5);
Tailwind
colors: {
custom: {
50: '#6d73ad',
500: '#233f8b',
950: '#000000',
},
}SCSS
$custom: #233f8b; $custom-light: #6d73ad; $custom-dark: #000000;
JSON
{
"hex": "#233f8b",
"rgb": {
"r": 35,
"g": 63,
"b": 139
},
"hsl": {
"h": 223.846,
"s": 59.77,
"l": 34.118
},
"oklch": {
"l": 0.39288,
"c": 0.13115,
"h": 265.5
},
"luminance": 0.05776
}Semantic roles & 50–950 ramp
primary
#233F8B
secondary
#B89C52
accent
#B845E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F