#1B3F96#1B3F96
#1B3F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.149 H 263.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F96 |
|---|---|
| RGB | rgb(27, 63, 150) |
| HSL | hsl(222, 69%, 35%) |
| HSV | hsv(222, 82%, 59%) |
| CMYK | cmyk(82%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(29.38, 21.03, -51.31) |
| CIE-LCH | lch(29.38, 55.45, 292.29°) |
| OKLab | oklab(39.88% -0.0159 -0.1482) |
| OKLCH | oklch(39.88% 0.149 263.9) |
| XYZ | xyz(7.7326, 5.9891, 29.5967) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.77
Darkish Blue
#014182
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 4.62
Twilight Blue
#0A437A
ΔE00 5.76
Blueberry
#464196
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F96 #96721B
analogous
#1B7D96 #1B3F96 #341B96
triadic
#1B3F96 #961B3F #3F961B
tetradic
#1B3F96 #961B7D #96721B #1B9634
square
#1B3F96 #961B7D #96721B #1B9634
split-complementary
#1B3F96 #96341B #7D961B
monochromatic
#08132E #122962 #1B3F96 #2455CA #4D77DF
Accessibility & contrast
On white
9.55
#1B3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1B3F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F96
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F96 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3f96; /* rgb */ color: rgb(27, 63, 150); /* oklch */ color: oklch(39.9% 0.149 263.9);
Tailwind
colors: {
custom: {
50: '#6d73b6',
500: '#1b3f96',
950: '#000000',
},
}SCSS
$custom: #1b3f96; $custom-light: #6d73b6; $custom-dark: #000000;
JSON
{
"hex": "#1b3f96",
"rgb": {
"r": 27,
"g": 63,
"b": 150
},
"hsl": {
"h": 222.439,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.39884,
"c": 0.14904,
"h": 263.9
},
"luminance": 0.0599
}Semantic roles & 50–950 ramp
primary
#1B3F96
secondary
#C19F4C
accent
#B93BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80