#1B3E8A#1B3E8A
#1B3E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.133 H 263.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3E8A |
|---|---|
| RGB | rgb(27, 62, 138) |
| HSL | hsl(221, 67%, 32%) |
| HSV | hsv(221, 80%, 54%) |
| CMYK | cmyk(80.4%, 55.1%, 0%, 45.9%) |
| CIE-LAB | lab(28.15, 16.87, -45.94) |
| CIE-LCH | lch(28.15, 48.94, 290.17°) |
| OKLab | oklab(38.65% -0.0162 -0.1324) |
| OKLCH | oklch(38.65% 0.133 263) |
| XYZ | xyz(6.7604, 5.5125, 24.7475) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.40
Darkish Blue
#014182
ΔE00 3.48
Twilight Blue
#0A437A
ΔE00 4.64
Cobalt
#0047AB
ΔE00 5.04
Marine Blue
#01386A
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3E8A #8A671B
analogous
#1B768A #1B3E8A #2F1B8A
triadic
#1B3E8A #8A1B3E #3E8A1B
tetradic
#1B3E8A #8A1B76 #8A671B #1B8A2F
square
#1B3E8A #8A1B76 #8A671B #1B8A2F
split-complementary
#1B3E8A #8A2F1B #768A1B
monochromatic
#071024 #112757 #1B3E8A #2555BD #4574DB
Accessibility & contrast
On white
9.99
#1B3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1B3E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3E8A
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3E8A | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1b3e8a; /* rgb */ color: rgb(27, 62, 138); /* oklch */ color: oklch(38.6% 0.133 263.0);
Tailwind
colors: {
custom: {
50: '#6a72ad',
500: '#1b3e8a',
950: '#000000',
},
}SCSS
$custom: #1b3e8a; $custom-light: #6a72ad; $custom-dark: #000000;
JSON
{
"hex": "#1b3e8a",
"rgb": {
"r": 27,
"g": 62,
"b": 138
},
"hsl": {
"h": 221.081,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.38649,
"c": 0.13341,
"h": 263
},
"luminance": 0.05513
}Semantic roles & 50–950 ramp
primary
#1B3E8A
secondary
#BC9645
accent
#B43EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F