#233F98#233F98
#233F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.150 H 266.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #233F98 |
|---|---|
| RGB | rgb(35, 63, 152) |
| HSL | hsl(226, 63%, 37%) |
| HSV | hsv(226, 77%, 60%) |
| CMYK | cmyk(77%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.86, 22.69, -51.74) |
| CIE-LCH | lch(29.86, 56.50, 293.68°) |
| OKLab | oklab(40.38% -0.0095 -0.1493) |
| OKLCH | oklch(40.38% 0.15 266.3) |
| XYZ | xyz(8.1362, 6.1784, 30.4634) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Cobalt
#0047AB
ΔE00 4.05
Cobalt (survey)
#1E488F
ΔE00 4.24
Blueberry
#464196
ΔE00 5.37
Darkish Blue
#014182
ΔE00 5.51
Blue Blue
#2242C7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F98 #987C23
analogous
#237A98 #233F98 #422398
triadic
#233F98 #98233F #3F9823
tetradic
#233F98 #98237A #987C23 #239842
square
#233F98 #98237A #987C23 #239842
split-complementary
#233F98 #984223 #7A9823
monochromatic
#0C1635 #182A66 #233F98 #2E54CA #5C7AD9
Accessibility & contrast
On white
9.39
#233F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#233F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F98
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F98 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #233f98; /* rgb */ color: rgb(35, 63, 152); /* oklch */ color: oklch(40.4% 0.150 266.3);
Tailwind
colors: {
custom: {
50: '#7073b7',
500: '#233f98',
950: '#000000',
},
}SCSS
$custom: #233f98; $custom-light: #7073b7; $custom-dark: #000000;
JSON
{
"hex": "#233f98",
"rgb": {
"r": 35,
"g": 63,
"b": 152
},
"hsl": {
"h": 225.641,
"s": 62.567,
"l": 36.667
},
"oklch": {
"l": 0.40377,
"c": 0.14963,
"h": 266.3
},
"luminance": 0.06179
}Semantic roles & 50–950 ramp
primary
#233F98
secondary
#BEA659
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80