#1B3E9B#1B3E9B
#1B3E9B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.157 H 264.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3E9B |
|---|---|
| RGB | rgb(27, 62, 155) |
| HSL | hsl(224, 70%, 36%) |
| HSV | hsv(224, 83%, 61%) |
| CMYK | cmyk(82.6%, 60%, 0%, 39.2%) |
| CIE-LAB | lab(29.52, 23.71, -54.13) |
| CIE-LCH | lch(29.52, 59.10, 293.66°) |
| OKLab | oklab(40.12% -0.015 -0.1565) |
| OKLCH | oklch(40.12% 0.157 264.5) |
| XYZ | xyz(8.0889, 6.0438, 31.7442) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Cobalt
#0047AB
ΔE00 3.75
Cobalt (survey)
#1E488F
ΔE00 4.39
Darkish Blue
#014182
ΔE00 5.44
Blueberry
#464196
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3E9B #9B781B
analogous
#1B7E9B #1B3E9B #381B9B
triadic
#1B3E9B #9B1B3E #3E9B1B
tetradic
#1B3E9B #9B1B7E #9B781B #1B9B38
square
#1B3E9B #9B1B7E #9B781B #1B9B38
split-complementary
#1B3E9B #9B381B #7E9B1B
monochromatic
#091433 #122967 #1B3E9B #2453CF #5077E0
Accessibility & contrast
On white
9.51
#1B3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1B3E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3E9B
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3E9B | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b3e9b; /* rgb */ color: rgb(27, 62, 155); /* oklch */ color: oklch(40.1% 0.157 264.5);
Tailwind
colors: {
custom: {
50: '#6f72b9',
500: '#1b3e9b',
950: '#000000',
},
}SCSS
$custom: #1b3e9b; $custom-light: #6f72b9; $custom-dark: #000000;
JSON
{
"hex": "#1b3e9b",
"rgb": {
"r": 27,
"g": 62,
"b": 155
},
"hsl": {
"h": 223.594,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.40117,
"c": 0.15722,
"h": 264.5
},
"luminance": 0.06045
}Semantic roles & 50–950 ramp
primary
#1B3E9B
secondary
#C3A34F
accent
#BC3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81