#1B348E#1B348E
#1B348E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.152 H 266.6°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1B348E |
|---|---|
| RGB | rgb(27, 52, 142) |
| HSL | hsl(227, 68%, 33%) |
| HSV | hsv(227, 81%, 56%) |
| CMYK | cmyk(81%, 63.4%, 0%, 44.3%) |
| CIE-LAB | lab(25.69, 25.42, -52.42) |
| CIE-LCH | lch(25.69, 58.26, 295.87°) |
| OKLab | oklab(36.91% -0.009 -0.1516) |
| OKLCH | oklch(36.91% 0.152 266.6) |
| XYZ | xyz(6.5608, 4.6412, 26.1360) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.86
Darkish Blue
#014182
ΔE00 6.88
Cobalt (survey)
#1E488F
ΔE00 7.01
Cobalt
#0047AB
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B348E #8E751B
analogous
#1B6D8E #1B348E #3C1B8E
triadic
#1B348E #8E1B34 #348E1B
tetradic
#1B348E #8E1B6D #8E751B #1B8E3C
square
#1B348E #8E1B6D #8E751B #1B8E3C
split-complementary
#1B348E #8E3C1B #6D8E1B
monochromatic
#070E27 #11215B #1B348E #2547C1 #4768DC
Accessibility & contrast
On white
10.89
#1B348E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1B348E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B348E
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B348E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B348E | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b348e; /* rgb */ color: rgb(27, 52, 142); /* oklch */ color: oklch(36.9% 0.152 266.6);
Tailwind
colors: {
custom: {
50: '#6c6bb0',
500: '#1b348e',
950: '#000000',
},
}SCSS
$custom: #1b348e; $custom-light: #6c6bb0; $custom-dark: #000000;
JSON
{
"hex": "#1b348e",
"rgb": {
"r": 27,
"g": 52,
"b": 142
},
"hsl": {
"h": 226.957,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.36908,
"c": 0.1519,
"h": 266.6
},
"luminance": 0.04642
}Semantic roles & 50–950 ramp
primary
#1B348E
secondary
#BEA447
accent
#C53DEB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80