#1B2E9F#1B2E9F
#1B2E9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.182 H 267.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E9F |
|---|---|
| RGB | rgb(27, 46, 159) |
| HSL | hsl(231, 71%, 36%) |
| HSV | hsv(231, 83%, 62%) |
| CMYK | cmyk(83%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(25.83, 35.90, -62.62) |
| CIE-LCH | lch(25.83, 72.18, 299.83°) |
| OKLab | oklab(37.51% -0.0068 -0.1815) |
| OKLCH | oklch(37.51% 0.182 267.8) |
| XYZ | xyz(7.6848, 4.6893, 33.2943) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Royal
#0C1793
ΔE00 5.68
Indigo Blue
#3A18B1
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 7.05
Blueberry
#464196
ΔE00 7.08
Blue Blue
#2242C7
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E9F #9F8C1B
analogous
#1B709F #1B2E9F #4A1B9F
triadic
#1B2E9F #9F1B2E #2E9F1B
tetradic
#1B2E9F #9F1B70 #9F8C1B #1B9F4A
square
#1B2E9F #9F1B70 #9F8C1B #1B9F4A
split-complementary
#1B2E9F #9F4A1B #709F1B
monochromatic
#091036 #121F6B #1B2E9F #243DD3 #5367E2
Accessibility & contrast
On white
10.84
#1B2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1B2E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E9F
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E9F | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b2e9f; /* rgb */ color: rgb(27, 46, 159); /* oklch */ color: oklch(37.5% 0.182 267.8);
Tailwind
colors: {
custom: {
50: '#7167bd',
500: '#1b2e9f',
950: '#000000',
},
}SCSS
$custom: #1b2e9f; $custom-light: #7167bd; $custom-dark: #000000;
JSON
{
"hex": "#1b2e9f",
"rgb": {
"r": 27,
"g": 46,
"b": 159
},
"hsl": {
"h": 231.364,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37512,
"c": 0.18159,
"h": 267.8
},
"luminance": 0.0469
}Semantic roles & 50–950 ramp
primary
#1B2E9F
secondary
#C5B451
accent
#D43AEE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81