#1B3F9E#1B3F9E
#1B3F9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.160 H 264.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F9E |
|---|---|
| RGB | rgb(27, 63, 158) |
| HSL | hsl(224, 71%, 36%) |
| HSV | hsv(224, 83%, 62%) |
| CMYK | cmyk(82.9%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.05, 24.22, -55.09) |
| CIE-LCH | lch(30.05, 60.18, 293.73°) |
| OKLab | oklab(40.59% -0.0155 -0.1593) |
| OKLCH | oklch(40.59% 0.16 264.4) |
| XYZ | xyz(8.3989, 6.2556, 33.1059) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 3.57
Cobalt (survey)
#1E488F
ΔE00 4.36
Darkish Blue
#014182
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.91
Blueberry
#464196
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F9E #9E7A1B
analogous
#1B819E #1B3F9E #381B9E
triadic
#1B3F9E #9E1B3F #3F9E1B
tetradic
#1B3F9E #9E1B81 #9E7A1B #1B9E38
square
#1B3F9E #9E1B81 #9E7A1B #1B9E38
split-complementary
#1B3F9E #9E381B #819E1B
monochromatic
#091535 #122A6A #1B3F9E #2454D2 #5279E1
Accessibility & contrast
On white
9.33
#1B3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1B3F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F9E
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F9E | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b3f9e; /* rgb */ color: rgb(27, 63, 158); /* oklch */ color: oklch(40.6% 0.160 264.4);
Tailwind
colors: {
custom: {
50: '#6f73bb',
500: '#1b3f9e',
950: '#000000',
},
}SCSS
$custom: #1b3f9e; $custom-light: #6f73bb; $custom-dark: #000000;
JSON
{
"hex": "#1b3f9e",
"rgb": {
"r": 27,
"g": 63,
"b": 158
},
"hsl": {
"h": 223.511,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.40589,
"c": 0.16007,
"h": 264.4
},
"luminance": 0.06257
}Semantic roles & 50–950 ramp
primary
#1B3F9E
secondary
#C4A451
accent
#BC3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81