#1B4E97#1B4E97
#1B4E97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.131 H 258.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4E97 |
|---|---|
| RGB | rgb(27, 78, 151) |
| HSL | hsl(215, 70%, 35%) |
| HSV | hsv(215, 82%, 59%) |
| CMYK | cmyk(82.1%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(33.81, 11.18, -44.76) |
| CIE-LCH | lch(33.81, 46.13, 284.02°) |
| OKLab | oklab(43.28% -0.027 -0.1286) |
| OKLCH | oklch(43.28% 0.131 258.1) |
| XYZ | xyz(8.7602, 7.9151, 30.3382) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.18
Cobalt (survey)
#1E488F
ΔE00 2.28
Light Navy
#155084
ΔE00 3.56
Cobalt
#0047AB
ΔE00 3.76
Sapphire
#0F52BA
ΔE00 4.51
Light Navy Blue
#2E5A88
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4E97 #97641B
analogous
#1B8C97 #1B4E97 #261B97
triadic
#1B4E97 #971B4E #4E971B
tetradic
#1B4E97 #971B8C #97641B #1B9726
square
#1B4E97 #971B8C #97641B #1B9726
split-complementary
#1B4E97 #97261B #8C971B
monochromatic
#08182F #123363 #1B4E97 #2469CB #4D89DF
Accessibility & contrast
On white
8.13
#1B4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1B4E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4E97
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4E97 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1b4e97; /* rgb */ color: rgb(27, 78, 151); /* oklch */ color: oklch(43.3% 0.131 258.1);
Tailwind
colors: {
custom: {
50: '#6d7fb6',
500: '#1b4e97',
950: '#000000',
},
}SCSS
$custom: #1b4e97; $custom-light: #6d7fb6; $custom-dark: #000000;
JSON
{
"hex": "#1b4e97",
"rgb": {
"r": 27,
"g": 78,
"b": 151
},
"hsl": {
"h": 215.323,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.43275,
"c": 0.13143,
"h": 258.1
},
"luminance": 0.07916
}Semantic roles & 50–950 ramp
primary
#1B4E97
secondary
#C1914C
accent
#A43BEC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80