#1B339E#1B339E
#1B339E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.175 H 267.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1B339E |
|---|---|
| RGB | rgb(27, 51, 158) |
| HSL | hsl(229, 71%, 36%) |
| HSV | hsv(229, 83%, 62%) |
| CMYK | cmyk(82.9%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(26.93, 32.29, -60.20) |
| CIE-LCH | lch(26.93, 68.32, 298.21°) |
| OKLab | oklab(38.28% -0.009 -0.1744) |
| OKLCH | oklch(38.28% 0.175 267) |
| XYZ | xyz(7.8052, 5.0684, 32.9080) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Blueberry
#464196
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.79
Cobalt
#0047AB
ΔE00 6.97
Royal
#0C1793
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B339E #9E861B
analogous
#1B759E #1B339E #451B9E
triadic
#1B339E #9E1B33 #339E1B
tetradic
#1B339E #9E1B75 #9E861B #1B9E45
square
#1B339E #9E1B75 #9E861B #1B9E45
split-complementary
#1B339E #9E451B #759E1B
monochromatic
#091135 #12226A #1B339E #2444D2 #526CE1
Accessibility & contrast
On white
10.43
#1B339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1B339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B339E
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B339E | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b339e; /* rgb */ color: rgb(27, 51, 158); /* oklch */ color: oklch(38.3% 0.175 267.0);
Tailwind
colors: {
custom: {
50: '#706abc',
500: '#1b339e',
950: '#000000',
},
}SCSS
$custom: #1b339e; $custom-light: #706abc; $custom-dark: #000000;
JSON
{
"hex": "#1b339e",
"rgb": {
"r": 27,
"g": 51,
"b": 158
},
"hsl": {
"h": 229.008,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.3828,
"c": 0.17463,
"h": 267
},
"luminance": 0.05069
}Semantic roles & 50–950 ramp
primary
#1B339E
secondary
#C4AF51
accent
#CD3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81