#1B239E#1B239E
#1B239E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.192 H 269.1°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B239E |
|---|---|
| RGB | rgb(27, 35, 158) |
| HSL | hsl(236, 71%, 36%) |
| HSV | hsv(236, 83%, 62%) |
| CMYK | cmyk(82.9%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(23.35, 42.18, -66.11) |
| CIE-LCH | lch(23.35, 78.42, 302.54°) |
| OKLab | oklab(35.71% -0.0029 -0.1915) |
| OKLCH | oklch(35.71% 0.192 269.1) |
| XYZ | xyz(7.2225, 3.9028, 32.7138) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.06
Cobalt Blue
#030AA7
ΔE00 4.28
Indigo Blue
#3A18B1
ΔE00 4.60
Royal Blue (survey)
#0504AA
ΔE00 4.85
Ultramarine
#2000B1
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B239E #9E961B
analogous
#1B659E #1B239E #551B9E
triadic
#1B239E #9E1B23 #239E1B
tetradic
#1B239E #9E1B65 #9E961B #1B9E55
square
#1B239E #9E1B65 #9E961B #1B9E55
split-complementary
#1B239E #9E551B #659E1B
monochromatic
#090C35 #12176A #1B239E #242FD2 #525BE1
Accessibility & contrast
On white
11.79
#1B239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1B239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B239E
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B239E | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA1
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b239e; /* rgb */ color: rgb(27, 35, 158); /* oklch */ color: oklch(35.7% 0.192 269.1);
Tailwind
colors: {
custom: {
50: '#7260bc',
500: '#1b239e',
950: '#000000',
},
}SCSS
$custom: #1b239e; $custom-light: #7260bc; $custom-dark: #000000;
JSON
{
"hex": "#1b239e",
"rgb": {
"r": 27,
"g": 35,
"b": 158
},
"hsl": {
"h": 236.336,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.35705,
"c": 0.19156,
"h": 269.1
},
"luminance": 0.03904
}Semantic roles & 50–950 ramp
primary
#1B239E
secondary
#C4BD51
accent
#E33AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981