#1B508E#1B508E
#1B508E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.116 H 254.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B508E |
|---|---|
| RGB | rgb(27, 80, 142) |
| HSL | hsl(212, 68%, 33%) |
| HSV | hsv(212, 81%, 56%) |
| CMYK | cmyk(81%, 43.7%, 0%, 44.3%) |
| CIE-LAB | lab(33.82, 6.20, -39.26) |
| CIE-LCH | lch(33.82, 39.75, 278.98°) |
| OKLab | oklab(43.1% -0.0305 -0.1124) |
| OKLCH | oklch(43.1% 0.116 254.8) |
| XYZ | xyz(8.2013, 7.9223, 26.6829) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.22
Light Navy
#155084
ΔE00 2.00
Cobalt (survey)
#1E488F
ΔE00 3.29
Light Navy Blue
#2E5A88
ΔE00 3.64
Twilight Blue
#0A437A
ΔE00 4.58
Prussian Blue
#004577
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B508E #8E591B
analogous
#1B898E #1B508E #201B8E
triadic
#1B508E #8E1B50 #508E1B
tetradic
#1B508E #8E1B89 #8E591B #1B8E20
square
#1B508E #8E1B89 #8E591B #1B8E20
split-complementary
#1B508E #8E201B #898E1B
monochromatic
#071627 #11335B #1B508E #256DC1 #478CDC
Accessibility & contrast
On white
8.13
#1B508E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#1B508E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B508E
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B508E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B508E | 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)
#315590
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1b508e; /* rgb */ color: rgb(27, 80, 142); /* oklch */ color: oklch(43.1% 0.116 254.8);
Tailwind
colors: {
custom: {
50: '#6a80af',
500: '#1b508e',
950: '#000000',
},
}SCSS
$custom: #1b508e; $custom-light: #6a80af; $custom-dark: #000000;
JSON
{
"hex": "#1b508e",
"rgb": {
"r": 27,
"g": 80,
"b": 142
},
"hsl": {
"h": 212.348,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.43097,
"c": 0.11647,
"h": 254.8
},
"luminance": 0.07923
}Semantic roles & 50–950 ramp
primary
#1B508E
secondary
#BE8747
accent
#9B3DEB
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F