#231F9F#231F9F
#231F9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.194 H 272.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #231F9F |
|---|---|
| RGB | rgb(35, 31, 159) |
| HSL | hsl(242, 67%, 37%) |
| HSV | hsv(242, 81%, 62%) |
| CMYK | cmyk(78%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(23.13, 45.19, -67.06) |
| CIE-LCH | lch(23.13, 80.87, 303.98°) |
| OKLab | oklab(35.7% 0.0068 -0.1941) |
| OKLCH | oklch(35.7% 0.194 272) |
| XYZ | xyz(7.4390, 3.8397, 33.1432) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Cobalt Blue
#030AA7
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 3.99
Ultramarine
#2000B1
ΔE00 4.28
True Blue
#010FCC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F9F #9B9F1F
analogous
#1F5B9F #231F9F #631F9F
triadic
#231F9F #9F231F #1F9F23
tetradic
#231F9F #9F1F5B #9B9F1F #1F9F63
square
#231F9F #9F1F5B #9B9F1F #1F9F63
split-complementary
#231F9F #9F631F #5B9F1F
monochromatic
#0C0B39 #18156C #231F9F #2E29D2 #5E5ADF
Accessibility & contrast
On white
11.88
#231F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#231F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F9F
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F9F | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #231f9f; /* rgb */ color: rgb(35, 31, 159); /* oklch */ color: oklch(35.7% 0.194 272.0);
Tailwind
colors: {
custom: {
50: '#755ebd',
500: '#231f9f',
950: '#000000',
},
}SCSS
$custom: #231f9f; $custom-light: #755ebd; $custom-dark: #000000;
JSON
{
"hex": "#231f9f",
"rgb": {
"r": 35,
"g": 31,
"b": 159
},
"hsl": {
"h": 241.875,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.35703,
"c": 0.19422,
"h": 272
},
"luminance": 0.03841
}Semantic roles & 50–950 ramp
primary
#231F9F
secondary
#BFC357
accent
#EA3EE5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981