#1B3FA0#1B3FA0
#1B3FA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.163 H 264.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3FA0 |
|---|---|
| RGB | rgb(27, 63, 160) |
| HSL | hsl(224, 71%, 37%) |
| HSV | hsv(224, 83%, 63%) |
| CMYK | cmyk(83.1%, 60.6%, 0%, 37.3%) |
| CIE-LAB | lab(30.22, 25.01, -56.03) |
| CIE-LCH | lch(30.22, 61.36, 294.06°) |
| OKLab | oklab(40.77% -0.0155 -0.162) |
| OKLCH | oklch(40.77% 0.163 264.5) |
| XYZ | xyz(8.5724, 6.3251, 34.0199) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.32
Sapphire (survey)
#2138AB
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.88
Blueberry
#464196
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3FA0 #A07C1B
analogous
#1B82A0 #1B3FA0 #391BA0
triadic
#1B3FA0 #A01B3F #3FA01B
tetradic
#1B3FA0 #A01B82 #A07C1B #1BA039
square
#1B3FA0 #A01B82 #A07C1B #1BA039
split-complementary
#1B3FA0 #A0391B #82A01B
monochromatic
#091637 #122A6C #1B3FA0 #2454D4 #537AE2
Accessibility & contrast
On white
9.27
#1B3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1B3FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3FA0
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3FA0 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1b3fa0; /* rgb */ color: rgb(27, 63, 160); /* oklch */ color: oklch(40.8% 0.163 264.5);
Tailwind
colors: {
custom: {
50: '#7073bd',
500: '#1b3fa0',
950: '#000000',
},
}SCSS
$custom: #1b3fa0; $custom-light: #7073bd; $custom-dark: #000000;
JSON
{
"hex": "#1b3fa0",
"rgb": {
"r": 27,
"g": 63,
"b": 160
},
"hsl": {
"h": 223.759,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.40769,
"c": 0.16279,
"h": 264.5
},
"luminance": 0.06326
}Semantic roles & 50–950 ramp
primary
#1B3FA0
secondary
#C5A652
accent
#BD3AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81