#233E98#233E98
#233E98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.151 H 266.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #233E98 |
|---|---|
| RGB | rgb(35, 62, 152) |
| HSL | hsl(226, 63%, 37%) |
| HSV | hsv(226, 77%, 60%) |
| CMYK | cmyk(77%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.59, 23.37, -52.19) |
| CIE-LCH | lch(29.59, 57.18, 294.13°) |
| OKLab | oklab(40.17% -0.0088 -0.1506) |
| OKLCH | oklch(40.17% 0.151 266.7) |
| XYZ | xyz(8.0813, 6.0687, 30.4451) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Cobalt
#0047AB
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 4.57
Blueberry
#464196
ΔE00 5.28
Darkish Blue
#014182
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233E98 #987D23
analogous
#237998 #233E98 #432398
triadic
#233E98 #98233E #3E9823
tetradic
#233E98 #982379 #987D23 #239843
square
#233E98 #982379 #987D23 #239843
split-complementary
#233E98 #984323 #799823
monochromatic
#0C1535 #182A66 #233E98 #2E52CA #5C79D9
Accessibility & contrast
On white
9.49
#233E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#233E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233E98
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233E98 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #233e98; /* rgb */ color: rgb(35, 62, 152); /* oklch */ color: oklch(40.2% 0.151 266.7);
Tailwind
colors: {
custom: {
50: '#7072b7',
500: '#233e98',
950: '#000000',
},
}SCSS
$custom: #233e98; $custom-light: #7072b7; $custom-dark: #000000;
JSON
{
"hex": "#233e98",
"rgb": {
"r": 35,
"g": 62,
"b": 152
},
"hsl": {
"h": 226.154,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.40172,
"c": 0.15091,
"h": 266.7
},
"luminance": 0.0607
}Semantic roles & 50–950 ramp
primary
#233E98
secondary
#BEA759
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80