#1B2F9E#1B2F9E
#1B2F9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.179 H 267.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F9E |
|---|---|
| RGB | rgb(27, 47, 158) |
| HSL | hsl(231, 71%, 36%) |
| HSV | hsv(231, 83%, 62%) |
| CMYK | cmyk(82.9%, 70.3%, 0%, 38%) |
| CIE-LAB | lab(25.96, 34.89, -61.79) |
| CIE-LCH | lch(25.96, 70.96, 299.45°) |
| OKLab | oklab(37.58% -0.0072 -0.179) |
| OKLCH | oklch(37.58% 0.179 267.7) |
| XYZ | xyz(7.6379, 4.7338, 32.8523) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Royal
#0C1793
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.79
Blueberry
#464196
ΔE00 6.90
Cobalt Blue
#030AA7
ΔE00 7.38
Blue Blue
#2242C7
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F9E #9E8A1B
analogous
#1B719E #1B2F9E #491B9E
triadic
#1B2F9E #9E1B2F #2F9E1B
tetradic
#1B2F9E #9E1B71 #9E8A1B #1B9E49
square
#1B2F9E #9E1B71 #9E8A1B #1B9E49
split-complementary
#1B2F9E #9E491B #719E1B
monochromatic
#091035 #121F6A #1B2F9E #243FD2 #5268E1
Accessibility & contrast
On white
10.79
#1B2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B2F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F9E
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F9E | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b2f9e; /* rgb */ color: rgb(27, 47, 158); /* oklch */ color: oklch(37.6% 0.179 267.7);
Tailwind
colors: {
custom: {
50: '#7168bc',
500: '#1b2f9e',
950: '#000000',
},
}SCSS
$custom: #1b2f9e; $custom-light: #7168bc; $custom-dark: #000000;
JSON
{
"hex": "#1b2f9e",
"rgb": {
"r": 27,
"g": 47,
"b": 158
},
"hsl": {
"h": 230.84,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.37577,
"c": 0.17919,
"h": 267.7
},
"luminance": 0.04735
}Semantic roles & 50–950 ramp
primary
#1B2F9E
secondary
#C4B351
accent
#D23AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81