#1B3EAA#1B3EAA
#1B3EAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.177 H 265.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3EAA |
|---|---|
| RGB | rgb(27, 62, 170) |
| HSL | hsl(225, 73%, 39%) |
| HSV | hsv(225, 84%, 67%) |
| CMYK | cmyk(84.1%, 63.5%, 0%, 33.3%) |
| CIE-LAB | lab(30.83, 29.60, -61.05) |
| CIE-LCH | lch(30.83, 67.84, 295.87°) |
| OKLab | oklab(41.49% -0.0148 -0.1768) |
| OKLCH | oklch(41.49% 0.177 265.2) |
| XYZ | xyz(9.4278, 6.5794, 38.7955) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Cobalt
#0047AB
ΔE00 3.76
Blue Blue
#2242C7
ΔE00 4.20
Cobalt (survey)
#1E488F
ΔE00 5.92
Blueberry
#464196
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3EAA #AA871B
analogous
#1B85AA #1B3EAA #3F1BAA
triadic
#1B3EAA #AA1B3E #3EAA1B
tetradic
#1B3EAA #AA1B85 #AA871B #1BAA3F
square
#1B3EAA #AA1B85 #AA871B #1BAA3F
split-complementary
#1B3EAA #AA3F1B #85AA1B
monochromatic
#0A1740 #132B75 #1B3EAA #2652DC #5B7CE5
Accessibility & contrast
On white
9.07
#1B3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1B3EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3EAA
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3EAA | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1b3eaa; /* rgb */ color: rgb(27, 62, 170); /* oklch */ color: oklch(41.5% 0.177 265.2);
Tailwind
colors: {
custom: {
50: '#7373c4',
500: '#1b3eaa',
950: '#000000',
},
}SCSS
$custom: #1b3eaa; $custom-light: #7373c4; $custom-dark: #000000;
JSON
{
"hex": "#1b3eaa",
"rgb": {
"r": 27,
"g": 62,
"b": 170
},
"hsl": {
"h": 225.315,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.41494,
"c": 0.17739,
"h": 265.2
},
"luminance": 0.06581
}Semantic roles & 50–950 ramp
primary
#1B3EAA
secondary
#C9AD58
accent
#C339EF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82