#1B4793#1B4793
#1B4793 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.135 H 260.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4793 |
|---|---|
| RGB | rgb(27, 71, 147) |
| HSL | hsl(218, 69%, 34%) |
| HSV | hsv(218, 82%, 58%) |
| CMYK | cmyk(81.6%, 51.7%, 0%, 42.4%) |
| CIE-LAB | lab(31.45, 14.31, -46.12) |
| CIE-LCH | lch(31.45, 48.29, 287.24°) |
| OKLab | oklab(41.38% -0.0221 -0.1328) |
| OKLCH | oklch(41.38% 0.135 260.6) |
| XYZ | xyz(7.9698, 6.8451, 28.4993) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.69
Cobalt
#0047AB
ΔE00 3.17
Darkish Blue
#014182
ΔE00 3.33
Twilight Blue
#0A437A
ΔE00 4.12
Dusk Blue
#26538D
ΔE00 4.29
Light Navy
#155084
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4793 #93671B
analogous
#1B8393 #1B4793 #2B1B93
triadic
#1B4793 #931B47 #47931B
tetradic
#1B4793 #931B83 #93671B #1B932B
square
#1B4793 #931B83 #93671B #1B932B
split-complementary
#1B4793 #932B1B #83931B
monochromatic
#08152C #122E5F #1B4793 #2460C7 #4B81DE
Accessibility & contrast
On white
8.86
#1B4793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1B4793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4793
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4793 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165096
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1b4793; /* rgb */ color: rgb(27, 71, 147); /* oklch */ color: oklch(41.4% 0.135 260.6);
Tailwind
colors: {
custom: {
50: '#6c79b3',
500: '#1b4793',
950: '#000000',
},
}SCSS
$custom: #1b4793; $custom-light: #6c79b3; $custom-dark: #000000;
JSON
{
"hex": "#1b4793",
"rgb": {
"r": 27,
"g": 71,
"b": 147
},
"hsl": {
"h": 218,
"s": 68.966,
"l": 34.118
},
"oklch": {
"l": 0.41379,
"c": 0.13461,
"h": 260.6
},
"luminance": 0.06846
}Semantic roles & 50–950 ramp
primary
#1B4793
secondary
#C0954A
accent
#AB3CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80