#1B4A7E#1B4A7E
#1B4A7E is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.101 H 253.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4A7E |
|---|---|
| RGB | rgb(27, 74, 126) |
| HSL | hsl(212, 65%, 30%) |
| HSV | hsv(212, 79%, 49%) |
| CMYK | cmyk(78.6%, 41.3%, 0%, 50.6%) |
| CIE-LAB | lab(30.96, 3.76, -33.96) |
| CIE-LCH | lch(30.96, 34.17, 276.31°) |
| OKLab | oklab(40.55% -0.0287 -0.097) |
| OKLCH | oklch(40.55% 0.101 253.5) |
| XYZ | xyz(6.6653, 6.6362, 20.6642) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.29
Light Navy
#155084
ΔE00 2.50
Prussian Blue
#004577
ΔE00 2.50
Cobalt (survey)
#1E488F
ΔE00 3.07
Darkish Blue
#014182
ΔE00 3.07
Dusk Blue
#26538D
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4A7E #7E4F1B
analogous
#1B7C7E #1B4A7E #1D1B7E
triadic
#1B4A7E #7E1B4A #4A7E1B
tetradic
#1B4A7E #7E1B7C #7E4F1B #1B7E1D
square
#1B4A7E #7E1B7C #7E4F1B #1B7E1D
split-complementary
#1B4A7E #7E1D1B #7C7E1B
monochromatic
#050F19 #102C4C #1B4A7E #2668B0 #3E86D6
Accessibility & contrast
On white
9.02
#1B4A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1B4A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4A7E
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4A7E | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b4a7e; /* rgb */ color: rgb(27, 74, 126); /* oklch */ color: oklch(40.6% 0.101 253.5);
Tailwind
colors: {
custom: {
50: '#677ca4',
500: '#1b4a7e',
950: '#000000',
},
}SCSS
$custom: #1b4a7e; $custom-light: #677ca4; $custom-dark: #000000;
JSON
{
"hex": "#1b4a7e",
"rgb": {
"r": 27,
"g": 74,
"b": 126
},
"hsl": {
"h": 211.515,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40552,
"c": 0.10114,
"h": 253.5
},
"luminance": 0.06637
}Semantic roles & 50–950 ramp
primary
#1B4A7E
secondary
#B27D43
accent
#9840E8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F