#1B409C#1B409C
#1B409C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.156 H 264.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1B409C |
|---|---|
| RGB | rgb(27, 64, 156) |
| HSL | hsl(223, 70%, 36%) |
| HSV | hsv(223, 83%, 61%) |
| CMYK | cmyk(82.7%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.15, 22.74, -53.71) |
| CIE-LCH | lch(30.15, 58.32, 292.95°) |
| OKLab | oklab(40.62% -0.0162 -0.1552) |
| OKLCH | oklch(40.62% 0.156 264) |
| XYZ | xyz(8.2840, 6.2991, 32.2253) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Cobalt (survey)
#1E488F
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.10
Darkish Blue
#014182
ΔE00 5.17
Blueberry
#464196
ΔE00 6.16
Blue Blue
#2242C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B409C #9C771B
analogous
#1B809C #1B409C #371B9C
triadic
#1B409C #9C1B40 #409C1B
tetradic
#1B409C #9C1B80 #9C771B #1B9C37
square
#1B409C #9C1B80 #9C771B #1B9C37
split-complementary
#1B409C #9C371B #809C1B
monochromatic
#091534 #122B68 #1B409C #2455D0 #517AE1
Accessibility & contrast
On white
9.29
#1B409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1B409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B409C
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B409C | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b409c; /* rgb */ color: rgb(27, 64, 156); /* oklch */ color: oklch(40.6% 0.156 264.0);
Tailwind
colors: {
custom: {
50: '#6f74ba',
500: '#1b409c',
950: '#000000',
},
}SCSS
$custom: #1b409c; $custom-light: #6f74ba; $custom-dark: #000000;
JSON
{
"hex": "#1b409c",
"rgb": {
"r": 27,
"g": 64,
"b": 156
},
"hsl": {
"h": 222.791,
"s": 70.492,
"l": 35.882
},
"oklch": {
"l": 0.40617,
"c": 0.15607,
"h": 264
},
"luminance": 0.063
}Semantic roles & 50–950 ramp
primary
#1B409C
secondary
#C3A24F
accent
#BA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81