#1B3F8E#1B3F8E
#1B3F8E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.138 H 263.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F8E |
|---|---|
| RGB | rgb(27, 63, 142) |
| HSL | hsl(221, 68%, 33%) |
| HSV | hsv(221, 81%, 56%) |
| CMYK | cmyk(81%, 55.6%, 0%, 44.3%) |
| CIE-LAB | lab(28.75, 17.80, -47.44) |
| CIE-LCH | lch(28.75, 50.67, 290.57°) |
| OKLab | oklab(39.2% -0.0165 -0.1368) |
| OKLCH | oklch(39.2% 0.138 263.1) |
| XYZ | xyz(7.1102, 5.7402, 26.3192) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.14
Darkish Blue
#014182
ΔE00 3.65
Cobalt
#0047AB
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 5.76
Marine Blue
#01386A
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F8E #8E6A1B
analogous
#1B788E #1B3F8E #301B8E
triadic
#1B3F8E #8E1B3F #3F8E1B
tetradic
#1B3F8E #8E1B78 #8E6A1B #1B8E30
square
#1B3F8E #8E1B78 #8E6A1B #1B8E30
split-complementary
#1B3F8E #8E301B #788E1B
monochromatic
#071127 #11285B #1B3F8E #2556C1 #4776DC
Accessibility & contrast
On white
9.78
#1B3F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#1B3F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F8E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F8E | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b3f8e; /* rgb */ color: rgb(27, 63, 142); /* oklch */ color: oklch(39.2% 0.138 263.1);
Tailwind
colors: {
custom: {
50: '#6b73b0',
500: '#1b3f8e',
950: '#000000',
},
}SCSS
$custom: #1b3f8e; $custom-light: #6b73b0; $custom-dark: #000000;
JSON
{
"hex": "#1b3f8e",
"rgb": {
"r": 27,
"g": 63,
"b": 142
},
"hsl": {
"h": 221.217,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.39202,
"c": 0.13781,
"h": 263.1
},
"luminance": 0.05741
}Semantic roles & 50–950 ramp
primary
#1B3F8E
secondary
#BE9947
accent
#B43DEB
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F