#233F9E#233F9E
#233F9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 266.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #233F9E |
|---|---|
| RGB | rgb(35, 63, 158) |
| HSL | hsl(226, 64%, 38%) |
| HSV | hsv(226, 78%, 62%) |
| CMYK | cmyk(77.8%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.35, 25.03, -54.59) |
| CIE-LCH | lch(30.35, 60.05, 294.63°) |
| OKLab | oklab(40.9% -0.0093 -0.1577) |
| OKLCH | oklch(40.9% 0.158 266.6) |
| XYZ | xyz(8.6400, 6.3800, 33.1172) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Cobalt
#0047AB
ΔE00 3.82
Cobalt (survey)
#1E488F
ΔE00 4.78
Blueberry
#464196
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.70
Darkish Blue
#014182
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F9E #9E8223
analogous
#237D9E #233F9E #44239E
triadic
#233F9E #9E233F #3F9E23
tetradic
#233F9E #9E237D #9E8223 #239E44
square
#233F9E #9E237D #9E8223 #239E44
split-complementary
#233F9E #9E4423 #7D9E23
monochromatic
#0D173A #182B6C #233F9E #2E53D0 #607CDC
Accessibility & contrast
On white
9.23
#233F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#233F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F9E
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F9E | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #233f9e; /* rgb */ color: rgb(35, 63, 158); /* oklch */ color: oklch(40.9% 0.158 266.6);
Tailwind
colors: {
custom: {
50: '#7273bb',
500: '#233f9e',
950: '#000000',
},
}SCSS
$custom: #233f9e; $custom-light: #7273bb; $custom-dark: #000000;
JSON
{
"hex": "#233f9e",
"rgb": {
"r": 35,
"g": 63,
"b": 158
},
"hsl": {
"h": 226.341,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.409,
"c": 0.15796,
"h": 266.6
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#233F9E
secondary
#C1AA5C
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81