#231B7C#231B7C
#231B7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.155 H 276.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #231B7C |
|---|---|
| RGB | rgb(35, 27, 124) |
| HSL | hsl(245, 64%, 30%) |
| HSV | hsv(245, 78%, 49%) |
| CMYK | cmyk(71.8%, 78.2%, 0%, 51.4%) |
| CIE-LAB | lab(18.35, 35.76, -53.16) |
| CIE-LCH | lch(18.35, 64.07, 303.93°) |
| OKLab | oklab(31.16% 0.0168 -0.1537) |
| OKLCH | oklch(31.16% 0.155 276.2) |
| XYZ | xyz(4.7220, 2.5960, 19.3171) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.21
Royal
#0C1793
ΔE00 3.77
Dark Royal Blue
#02066F
ΔE00 4.90
Indigo (survey)
#380282
ΔE00 5.18
Deep Blue
#040273
ΔE00 5.21
Navy
#000080
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231B7C #747C1B
analogous
#1B447C #231B7C #531B7C
triadic
#231B7C #7C231B #1B7C23
tetradic
#231B7C #7C1B44 #747C1B #1B7C53
square
#231B7C #7C1B44 #747C1B #1B7C53
split-complementary
#231B7C #7C531B #447C1B
monochromatic
#070519 #15104A #231B7C #3126AE #493DD5
Accessibility & contrast
On white
13.82
#231B7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#231B7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231B7C
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231B7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231B7C | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #231b7c; /* rgb */ color: rgb(35, 27, 124); /* oklch */ color: oklch(31.2% 0.155 276.2);
Tailwind
colors: {
custom: {
50: '#6d59a3',
500: '#231b7c',
950: '#000000',
},
}SCSS
$custom: #231b7c; $custom-light: #6d59a3; $custom-dark: #000000;
JSON
{
"hex": "#231b7c",
"rgb": {
"r": 35,
"g": 27,
"b": 124
},
"hsl": {
"h": 244.948,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.31163,
"c": 0.15457,
"h": 276.2
},
"luminance": 0.02596
}Semantic roles & 50–950 ramp
primary
#231B7C
secondary
#A7B043
accent
#E741D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F