#232F9F#232F9F
#232F9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.178 H 270.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #232F9F |
|---|---|
| RGB | rgb(35, 47, 159) |
| HSL | hsl(234, 64%, 38%) |
| HSV | hsv(234, 78%, 62%) |
| CMYK | cmyk(78%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.43, 35.93, -61.62) |
| CIE-LCH | lch(26.43, 71.34, 300.25°) |
| OKLab | oklab(38.04% 0.0002 -0.1784) |
| OKLCH | oklch(38.04% 0.178 270.1) |
| XYZ | xyz(7.9655, 4.8927, 33.3187) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Royal
#0C1793
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 6.26
Blueberry
#464196
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 7.17
Cobalt Blue
#030AA7
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#232F9F #9F9323
analogous
#236D9F #232F9F #55239F
triadic
#232F9F #9F232F #2F9F23
tetradic
#232F9F #9F236D #9F9323 #239F55
square
#232F9F #9F236D #9F9323 #239F55
split-complementary
#232F9F #9F5523 #6D9F23
monochromatic
#0D113B #18206D #232F9F #2E3ED1 #606CDC
Accessibility & contrast
On white
10.61
#232F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#232F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #232F9F
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##232F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##232F9F | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #232f9f; /* rgb */ color: rgb(35, 47, 159); /* oklch */ color: oklch(38.0% 0.178 270.1);
Tailwind
colors: {
custom: {
50: '#7368bc',
500: '#232f9f',
950: '#000000',
},
}SCSS
$custom: #232f9f; $custom-light: #7368bc; $custom-dark: #000000;
JSON
{
"hex": "#232f9f",
"rgb": {
"r": 35,
"g": 47,
"b": 159
},
"hsl": {
"h": 234.194,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.38044,
"c": 0.17841,
"h": 270.1
},
"luminance": 0.04894
}Semantic roles & 50–950 ramp
primary
#232F9F
secondary
#C1B75D
accent
#D741E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81