#1B2E97#1B2E97
#1B2E97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.171 H 267.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E97 |
|---|---|
| RGB | rgb(27, 46, 151) |
| HSL | hsl(231, 70%, 35%) |
| HSV | hsv(231, 82%, 59%) |
| CMYK | cmyk(82.1%, 69.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.02, 32.92, -59.07) |
| CIE-LCH | lch(25.02, 67.63, 299.13°) |
| OKLab | oklab(36.68% -0.0062 -0.1711) |
| OKLCH | oklch(36.68% 0.171 267.9) |
| XYZ | xyz(7.0130, 4.4205, 29.7558) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Royal
#0C1793
ΔE00 5.67
Blueberry
#464196
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.38
Cobalt Blue
#030AA7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E97 #97841B
analogous
#1B6C97 #1B2E97 #461B97
triadic
#1B2E97 #971B2E #2E971B
tetradic
#1B2E97 #971B6C #97841B #1B9746
square
#1B2E97 #971B6C #97841B #1B9746
split-complementary
#1B2E97 #97461B #6C971B
monochromatic
#080E2F #121E63 #1B2E97 #243ECB #4D64DF
Accessibility & contrast
On white
11.15
#1B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1B2E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E97
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E97 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b2e97; /* rgb */ color: rgb(27, 46, 151); /* oklch */ color: oklch(36.7% 0.171 267.9);
Tailwind
colors: {
custom: {
50: '#6f67b7',
500: '#1b2e97',
950: '#000000',
},
}SCSS
$custom: #1b2e97; $custom-light: #6f67b7; $custom-dark: #000000;
JSON
{
"hex": "#1b2e97",
"rgb": {
"r": 27,
"g": 46,
"b": 151
},
"hsl": {
"h": 230.806,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.36676,
"c": 0.17123,
"h": 267.9
},
"luminance": 0.04421
}Semantic roles & 50–950 ramp
primary
#1B2E97
secondary
#C1B04C
accent
#D13BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80