#233F9A#233F9A
#233F9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.152 H 266.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #233F9A |
|---|---|
| RGB | rgb(35, 63, 154) |
| HSL | hsl(226, 63%, 37%) |
| HSV | hsv(226, 77%, 60%) |
| CMYK | cmyk(77.3%, 59.1%, 0%, 39.6%) |
| CIE-LAB | lab(30.02, 23.47, -52.70) |
| CIE-LCH | lch(30.02, 57.69, 294.01°) |
| OKLab | oklab(40.55% -0.0094 -0.1521) |
| OKLCH | oklch(40.55% 0.152 266.4) |
| XYZ | xyz(8.3013, 6.2445, 31.3334) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Cobalt
#0047AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 4.41
Blueberry
#464196
ΔE00 5.32
Darkish Blue
#014182
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F9A #9A7E23
analogous
#237B9A #233F9A #42239A
triadic
#233F9A #9A233F #3F9A23
tetradic
#233F9A #9A237B #9A7E23 #239A42
square
#233F9A #9A237B #9A7E23 #239A42
split-complementary
#233F9A #9A4223 #7B9A23
monochromatic
#0C1636 #182B68 #233F9A #2E53CC #5D7BDA
Accessibility & contrast
On white
9.34
#233F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#233F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F9A
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F9A | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #233f9a; /* rgb */ color: rgb(35, 63, 154); /* oklch */ color: oklch(40.6% 0.152 266.4);
Tailwind
colors: {
custom: {
50: '#7173b9',
500: '#233f9a',
950: '#000000',
},
}SCSS
$custom: #233f9a; $custom-light: #7173b9; $custom-dark: #000000;
JSON
{
"hex": "#233f9a",
"rgb": {
"r": 35,
"g": 63,
"b": 154
},
"hsl": {
"h": 225.882,
"s": 62.963,
"l": 37.059
},
"oklch": {
"l": 0.4055,
"c": 0.15242,
"h": 266.4
},
"luminance": 0.06245
}Semantic roles & 50–950 ramp
primary
#233F9A
secondary
#BFA75A
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80