#1B2474#1B2474
#1B2474 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.136 H 271.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2474 |
|---|---|
| RGB | rgb(27, 36, 116) |
| HSL | hsl(234, 62%, 28%) |
| HSV | hsv(234, 77%, 45%) |
| CMYK | cmyk(76.7%, 69%, 0%, 54.5%) |
| CIE-LAB | lab(19.04, 26.23, -46.92) |
| CIE-LCH | lch(19.04, 53.76, 299.21°) |
| OKLab | oklab(31.26% 0.0023 -0.1357) |
| OKLCH | oklch(31.26% 0.136 271) |
| XYZ | xyz(4.2342, 2.7553, 16.8283) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.16
Royal
#0C1793
ΔE00 6.23
Dark Royal Blue
#02066F
ΔE00 7.18
Darkblue (survey)
#030764
ΔE00 7.27
Marine
#042E60
ΔE00 7.42
Deep Blue
#040273
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2474 #746B1B
analogous
#1B5074 #1B2474 #3F1B74
triadic
#1B2474 #741B24 #24741B
tetradic
#1B2474 #741B50 #746B1B #1B743F
square
#1B2474 #741B50 #746B1B #1B743F
split-complementary
#1B2474 #743F1B #50741B
monochromatic
#060819 #0F1542 #1B2474 #2733A6 #3948D1
Accessibility & contrast
On white
13.54
#1B2474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B2474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2474
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2474 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b2474; /* rgb */ color: rgb(27, 36, 116); /* oklch */ color: oklch(31.3% 0.136 271.0);
Tailwind
colors: {
custom: {
50: '#665e9d',
500: '#1b2474',
950: '#000000',
},
}SCSS
$custom: #1b2474; $custom-light: #665e9d; $custom-dark: #000000;
JSON
{
"hex": "#1b2474",
"rgb": {
"r": 27,
"g": 36,
"b": 116
},
"hsl": {
"h": 233.933,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.31262,
"c": 0.13571,
"h": 271
},
"luminance": 0.02756
}Semantic roles & 50–950 ramp
primary
#1B2474
secondary
#A99E42
accent
#D542E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E