#1B2E9E#1B2E9E
#1B2E9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.180 H 267.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E9E |
|---|---|
| RGB | rgb(27, 46, 158) |
| HSL | hsl(231, 71%, 36%) |
| HSV | hsv(231, 83%, 62%) |
| CMYK | cmyk(82.9%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(25.73, 35.53, -62.18) |
| CIE-LCH | lch(25.73, 71.62, 299.75°) |
| OKLab | oklab(37.41% -0.0068 -0.1802) |
| OKLCH | oklch(37.41% 0.18 267.9) |
| XYZ | xyz(7.5984, 4.6547, 32.8391) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Royal
#0C1793
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 6.55
Blueberry
#464196
ΔE00 7.07
Cobalt Blue
#030AA7
ΔE00 7.10
Blue Blue
#2242C7
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E9E #9E8B1B
analogous
#1B709E #1B2E9E #4A1B9E
triadic
#1B2E9E #9E1B2E #2E9E1B
tetradic
#1B2E9E #9E1B70 #9E8B1B #1B9E4A
square
#1B2E9E #9E1B70 #9E8B1B #1B9E4A
split-complementary
#1B2E9E #9E4A1B #709E1B
monochromatic
#091035 #121F6A #1B2E9E #243DD2 #5267E1
Accessibility & contrast
On white
10.87
#1B2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1B2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E9E
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E9E | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b2e9e; /* rgb */ color: rgb(27, 46, 158); /* oklch */ color: oklch(37.4% 0.180 267.9);
Tailwind
colors: {
custom: {
50: '#7167bc',
500: '#1b2e9e',
950: '#000000',
},
}SCSS
$custom: #1b2e9e; $custom-light: #7167bc; $custom-dark: #000000;
JSON
{
"hex": "#1b2e9e",
"rgb": {
"r": 27,
"g": 46,
"b": 158
},
"hsl": {
"h": 231.298,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.37407,
"c": 0.18031,
"h": 267.9
},
"luminance": 0.04656
}Semantic roles & 50–950 ramp
primary
#1B2E9E
secondary
#C4B351
accent
#D43AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81