#1B3F97#1B3F97
#1B3F97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 263.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F97 |
|---|---|
| RGB | rgb(27, 63, 151) |
| HSL | hsl(223, 70%, 35%) |
| HSV | hsv(223, 82%, 59%) |
| CMYK | cmyk(82.1%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.47, 21.43, -51.78) |
| CIE-LCH | lch(29.47, 56.04, 292.48°) |
| OKLab | oklab(39.97% -0.0159 -0.1496) |
| OKLCH | oklch(39.97% 0.15 263.9) |
| XYZ | xyz(7.8134, 6.0215, 30.0226) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.70
Cobalt (survey)
#1E488F
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.48
Darkish Blue
#014182
ΔE00 4.73
Twilight Blue
#0A437A
ΔE00 5.88
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F97 #97731B
analogous
#1B7D97 #1B3F97 #351B97
triadic
#1B3F97 #971B3F #3F971B
tetradic
#1B3F97 #971B7D #97731B #1B9735
square
#1B3F97 #971B7D #97731B #1B9735
split-complementary
#1B3F97 #97351B #7D971B
monochromatic
#08142F #122963 #1B3F97 #2455CB #4D78DF
Accessibility & contrast
On white
9.53
#1B3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1B3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F97
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F97 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3f97; /* rgb */ color: rgb(27, 63, 151); /* oklch */ color: oklch(40.0% 0.150 263.9);
Tailwind
colors: {
custom: {
50: '#6e73b6',
500: '#1b3f97',
950: '#000000',
},
}SCSS
$custom: #1b3f97; $custom-light: #6e73b6; $custom-dark: #000000;
JSON
{
"hex": "#1b3f97",
"rgb": {
"r": 27,
"g": 63,
"b": 151
},
"hsl": {
"h": 222.581,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.39971,
"c": 0.15043,
"h": 263.9
},
"luminance": 0.06022
}Semantic roles & 50–950 ramp
primary
#1B3F97
secondary
#C19F4C
accent
#B93BEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80