#1B249E#1B249E
#1B249E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.191 H 269.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B249E |
|---|---|
| RGB | rgb(27, 36, 158) |
| HSL | hsl(236, 71%, 36%) |
| HSV | hsv(236, 83%, 62%) |
| CMYK | cmyk(82.9%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(23.55, 41.61, -65.78) |
| CIE-LCH | lch(23.55, 77.84, 302.31°) |
| OKLab | oklab(35.85% -0.0032 -0.1906) |
| OKLCH | oklch(35.85% 0.191 269) |
| XYZ | xyz(7.2523, 3.9625, 32.7237) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Cobalt Blue
#030AA7
ΔE00 4.51
Indigo Blue
#3A18B1
ΔE00 4.72
Royal Blue (survey)
#0504AA
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B249E #9E951B
analogous
#1B669E #1B249E #541B9E
triadic
#1B249E #9E1B24 #249E1B
tetradic
#1B249E #9E1B66 #9E951B #1B9E54
square
#1B249E #9E1B66 #9E951B #1B9E54
split-complementary
#1B249E #9E541B #669E1B
monochromatic
#090C35 #12186A #1B249E #2430D2 #525CE1
Accessibility & contrast
On white
11.71
#1B249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1B249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B249E
11.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B249E | 1.00 | 11.71 | 1.79 | 11.71 |
| #FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b249e; /* rgb */ color: rgb(27, 36, 158); /* oklch */ color: oklch(35.8% 0.191 269.0);
Tailwind
colors: {
custom: {
50: '#7260bc',
500: '#1b249e',
950: '#000000',
},
}SCSS
$custom: #1b249e; $custom-light: #7260bc; $custom-dark: #000000;
JSON
{
"hex": "#1b249e",
"rgb": {
"r": 27,
"g": 36,
"b": 158
},
"hsl": {
"h": 235.878,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.35846,
"c": 0.19063,
"h": 269
},
"luminance": 0.03963
}Semantic roles & 50–950 ramp
primary
#1B249E
secondary
#C4BC51
accent
#E13AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981