#1B4099#1B4099
#1B4099 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.152 H 263.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4099 |
|---|---|
| RGB | rgb(27, 64, 153) |
| HSL | hsl(222, 70%, 35%) |
| HSV | hsv(222, 82%, 60%) |
| CMYK | cmyk(82.4%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(29.91, 21.54, -52.28) |
| CIE-LCH | lch(29.91, 56.55, 292.39°) |
| OKLab | oklab(40.35% -0.0164 -0.151) |
| OKLCH | oklch(40.35% 0.152 263.8) |
| XYZ | xyz(8.0331, 6.1987, 30.9039) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 3.55
Sapphire (survey)
#2138AB
ΔE00 4.48
Darkish Blue
#014182
ΔE00 4.78
Twilight Blue
#0A437A
ΔE00 5.91
Blueberry
#464196
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4099 #99741B
analogous
#1B7F99 #1B4099 #351B99
triadic
#1B4099 #991B40 #40991B
tetradic
#1B4099 #991B7F #99741B #1B9935
square
#1B4099 #991B7F #99741B #1B9935
split-complementary
#1B4099 #99351B #7F991B
monochromatic
#091431 #122A65 #1B4099 #2456CD #4F79E0
Accessibility & contrast
On white
9.38
#1B4099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1B4099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4099
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4099 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b4099; /* rgb */ color: rgb(27, 64, 153); /* oklch */ color: oklch(40.4% 0.152 263.8);
Tailwind
colors: {
custom: {
50: '#6e74b8',
500: '#1b4099',
950: '#000000',
},
}SCSS
$custom: #1b4099; $custom-light: #6e74b8; $custom-dark: #000000;
JSON
{
"hex": "#1b4099",
"rgb": {
"r": 27,
"g": 64,
"b": 153
},
"hsl": {
"h": 222.381,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.40354,
"c": 0.15193,
"h": 263.8
},
"luminance": 0.062
}Semantic roles & 50–950 ramp
primary
#1B4099
secondary
#C2A04E
accent
#B93BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80