#1B309E#1B309E
#1B309E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.178 H 267.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1B309E |
|---|---|
| RGB | rgb(27, 48, 158) |
| HSL | hsl(230, 71%, 36%) |
| HSV | hsv(230, 83%, 62%) |
| CMYK | cmyk(82.9%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(26.20, 34.25, -61.40) |
| CIE-LCH | lch(26.20, 70.31, 299.15°) |
| OKLab | oklab(37.75% -0.0076 -0.1779) |
| OKLCH | oklch(37.75% 0.178 267.6) |
| XYZ | xyz(7.6784, 4.8146, 32.8658) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Royal
#0C1793
ΔE00 6.23
Blueberry
#464196
ΔE00 6.74
Indigo Blue
#3A18B1
ΔE00 7.03
Blue Blue
#2242C7
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B309E #9E891B
analogous
#1B729E #1B309E #481B9E
triadic
#1B309E #9E1B30 #309E1B
tetradic
#1B309E #9E1B72 #9E891B #1B9E48
square
#1B309E #9E1B72 #9E891B #1B9E48
split-complementary
#1B309E #9E481B #729E1B
monochromatic
#091035 #12206A #1B309E #2440D2 #5269E1
Accessibility & contrast
On white
10.70
#1B309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1B309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B309E
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B309E | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b309e; /* rgb */ color: rgb(27, 48, 158); /* oklch */ color: oklch(37.7% 0.178 267.6);
Tailwind
colors: {
custom: {
50: '#7168bc',
500: '#1b309e',
950: '#000000',
},
}SCSS
$custom: #1b309e; $custom-light: #7168bc; $custom-dark: #000000;
JSON
{
"hex": "#1b309e",
"rgb": {
"r": 27,
"g": 48,
"b": 158
},
"hsl": {
"h": 230.382,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.37749,
"c": 0.17807,
"h": 267.6
},
"luminance": 0.04816
}Semantic roles & 50–950 ramp
primary
#1B309E
secondary
#C4B251
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81