#1B319F#1B319F
#1B319F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.178 H 267.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1B319F |
|---|---|
| RGB | rgb(27, 49, 159) |
| HSL | hsl(230, 71%, 36%) |
| HSV | hsv(230, 83%, 62%) |
| CMYK | cmyk(83%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.54, 33.98, -61.45) |
| CIE-LCH | lch(26.54, 70.22, 298.94°) |
| OKLab | oklab(38.03% -0.0081 -0.1781) |
| OKLCH | oklch(38.03% 0.178 267.4) |
| XYZ | xyz(7.8061, 4.9319, 33.3347) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Royal
#0C1793
ΔE00 6.52
Blueberry
#464196
ΔE00 6.61
Blue Blue
#2242C7
ΔE00 7.00
Indigo Blue
#3A18B1
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B319F #9F891B
analogous
#1B739F #1B319F #471B9F
triadic
#1B319F #9F1B31 #319F1B
tetradic
#1B319F #9F1B73 #9F891B #1B9F47
square
#1B319F #9F1B73 #9F891B #1B9F47
split-complementary
#1B319F #9F471B #739F1B
monochromatic
#091136 #12216B #1B319F #2441D3 #536BE2
Accessibility & contrast
On white
10.57
#1B319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1B319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B319F
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B319F | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b319f; /* rgb */ color: rgb(27, 49, 159); /* oklch */ color: oklch(38.0% 0.178 267.4);
Tailwind
colors: {
custom: {
50: '#7169bc',
500: '#1b319f',
950: '#000000',
},
}SCSS
$custom: #1b319f; $custom-light: #7169bc; $custom-dark: #000000;
JSON
{
"hex": "#1b319f",
"rgb": {
"r": 27,
"g": 49,
"b": 159
},
"hsl": {
"h": 230,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.38027,
"c": 0.17824,
"h": 267.4
},
"luminance": 0.04933
}Semantic roles & 50–950 ramp
primary
#1B319F
secondary
#C5B151
accent
#D03AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81