#1B4794#1B4794
#1B4794 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.136 H 260.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4794 |
|---|---|
| RGB | rgb(27, 71, 148) |
| HSL | hsl(218, 69%, 34%) |
| HSV | hsv(218, 82%, 58%) |
| CMYK | cmyk(81.8%, 52%, 0%, 42%) |
| CIE-LAB | lab(31.52, 14.72, -46.61) |
| CIE-LCH | lch(31.52, 48.88, 287.52°) |
| OKLab | oklab(41.46% -0.0219 -0.1342) |
| OKLCH | oklch(41.46% 0.136 260.7) |
| XYZ | xyz(8.0486, 6.8766, 28.9144) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.82
Cobalt
#0047AB
ΔE00 3.03
Darkish Blue
#014182
ΔE00 3.45
Twilight Blue
#0A437A
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 4.34
Light Navy
#155084
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4794 #94681B
analogous
#1B8494 #1B4794 #2C1B94
triadic
#1B4794 #941B47 #47941B
tetradic
#1B4794 #941B84 #94681B #1B942C
square
#1B4794 #941B84 #94681B #1B942C
split-complementary
#1B4794 #942C1B #84941B
monochromatic
#08152C #122E60 #1B4794 #2460C8 #4B81DE
Accessibility & contrast
On white
8.84
#1B4794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1B4794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4794
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4794 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155097
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b4794; /* rgb */ color: rgb(27, 71, 148); /* oklch */ color: oklch(41.5% 0.136 260.7);
Tailwind
colors: {
custom: {
50: '#6c79b4',
500: '#1b4794',
950: '#000000',
},
}SCSS
$custom: #1b4794; $custom-light: #6c79b4; $custom-dark: #000000;
JSON
{
"hex": "#1b4794",
"rgb": {
"r": 27,
"g": 71,
"b": 148
},
"hsl": {
"h": 218.182,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.41458,
"c": 0.13602,
"h": 260.7
},
"luminance": 0.06878
}Semantic roles & 50–950 ramp
primary
#1B4794
secondary
#C0954B
accent
#AC3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80