#231F9C#231F9C
#231F9C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.191 H 272.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #231F9C |
|---|---|
| RGB | rgb(35, 31, 156) |
| HSL | hsl(242, 67%, 37%) |
| HSV | hsv(242, 80%, 61%) |
| CMYK | cmyk(77.6%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(22.78, 44.22, -65.81) |
| CIE-LCH | lch(22.78, 79.29, 303.90°) |
| OKLab | oklab(35.35% 0.0075 -0.1905) |
| OKLCH | oklch(35.35% 0.191 272.3) |
| XYZ | xyz(7.1819, 3.7368, 31.7888) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.50
Cobalt Blue
#030AA7
ΔE00 3.59
Indigo Blue
#3A18B1
ΔE00 3.99
Royal Blue (survey)
#0504AA
ΔE00 4.13
Ultramarine
#2000B1
ΔE00 4.52
Darkblue
#00008B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231F9C #989C1F
analogous
#1F5A9C #231F9C #621F9C
triadic
#231F9C #9C231F #1F9C23
tetradic
#231F9C #9C1F5A #989C1F #1F9C62
square
#231F9C #9C1F5A #989C1F #1F9C62
split-complementary
#231F9C #9C621F #5A9C1F
monochromatic
#0C0B36 #181569 #231F9C #2E29CF #5C58DE
Accessibility & contrast
On white
12.02
#231F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#231F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231F9C
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231F9C | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #231f9c; /* rgb */ color: rgb(35, 31, 156); /* oklch */ color: oklch(35.4% 0.191 272.3);
Tailwind
colors: {
custom: {
50: '#745ebb',
500: '#231f9c',
950: '#000000',
},
}SCSS
$custom: #231f9c; $custom-light: #745ebb; $custom-dark: #000000;
JSON
{
"hex": "#231f9c",
"rgb": {
"r": 35,
"g": 31,
"b": 156
},
"hsl": {
"h": 241.92,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.35354,
"c": 0.19063,
"h": 272.3
},
"luminance": 0.03738
}Semantic roles & 50–950 ramp
primary
#231F9C
secondary
#BEC155
accent
#EA3EE4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981