#1B4795#1B4795
#1B4795 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.137 H 260.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4795 |
|---|---|
| RGB | rgb(27, 71, 149) |
| HSL | hsl(218, 69%, 35%) |
| HSV | hsv(218, 82%, 58%) |
| CMYK | cmyk(81.9%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(31.60, 15.12, -47.11) |
| CIE-LCH | lch(31.60, 49.47, 287.80°) |
| OKLab | oklab(41.54% -0.0218 -0.1357) |
| OKLCH | oklch(41.54% 0.137 260.9) |
| XYZ | xyz(8.1281, 6.9084, 29.3330) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.96
Cobalt
#0047AB
ΔE00 2.90
Darkish Blue
#014182
ΔE00 3.57
Twilight Blue
#0A437A
ΔE00 4.38
Dusk Blue
#26538D
ΔE00 4.40
Light Navy
#155084
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4795 #95691B
analogous
#1B8495 #1B4795 #2C1B95
triadic
#1B4795 #951B47 #47951B
tetradic
#1B4795 #951B84 #95691B #1B952C
square
#1B4795 #951B84 #95691B #1B952C
split-complementary
#1B4795 #952C1B #84951B
monochromatic
#08162D #122E61 #1B4795 #2460C9 #4C81DF
Accessibility & contrast
On white
8.82
#1B4795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1B4795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4795
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4795 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b4795; /* rgb */ color: rgb(27, 71, 149); /* oklch */ color: oklch(41.5% 0.137 260.9);
Tailwind
colors: {
custom: {
50: '#6c79b5',
500: '#1b4795',
950: '#000000',
},
}SCSS
$custom: #1b4795; $custom-light: #6c79b5; $custom-dark: #000000;
JSON
{
"hex": "#1b4795",
"rgb": {
"r": 27,
"g": 71,
"b": 149
},
"hsl": {
"h": 218.361,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.41537,
"c": 0.13742,
"h": 260.9
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#1B4795
secondary
#C1964B
accent
#AC3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80