#1B3F9B#1B3F9B
#1B3F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.156 H 264.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F9B |
|---|---|
| RGB | rgb(27, 63, 155) |
| HSL | hsl(223, 70%, 36%) |
| HSV | hsv(223, 83%, 61%) |
| CMYK | cmyk(82.6%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(29.80, 23.03, -53.68) |
| CIE-LCH | lch(29.80, 58.41, 293.22°) |
| OKLab | oklab(40.32% -0.0157 -0.1552) |
| OKLCH | oklch(40.32% 0.156 264.2) |
| XYZ | xyz(8.1438, 6.1536, 31.7625) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 4.07
Darkish Blue
#014182
ΔE00 5.24
Blueberry
#464196
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F9B #9B771B
analogous
#1B7F9B #1B3F9B #371B9B
triadic
#1B3F9B #9B1B3F #3F9B1B
tetradic
#1B3F9B #9B1B7F #9B771B #1B9B37
square
#1B3F9B #9B1B7F #9B771B #1B9B37
split-complementary
#1B3F9B #9B371B #7F9B1B
monochromatic
#091533 #122A67 #1B3F9B #2454CF #5079E0
Accessibility & contrast
On white
9.41
#1B3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B3F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F9B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F9B | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 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: #1b3f9b; /* rgb */ color: rgb(27, 63, 155); /* oklch */ color: oklch(40.3% 0.156 264.2);
Tailwind
colors: {
custom: {
50: '#6f73b9',
500: '#1b3f9b',
950: '#000000',
},
}SCSS
$custom: #1b3f9b; $custom-light: #6f73b9; $custom-dark: #000000;
JSON
{
"hex": "#1b3f9b",
"rgb": {
"r": 27,
"g": 63,
"b": 155
},
"hsl": {
"h": 223.125,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.40322,
"c": 0.15596,
"h": 264.2
},
"luminance": 0.06155
}Semantic roles & 50–950 ramp
primary
#1B3F9B
secondary
#C3A24F
accent
#BB3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81