#1B309F#1B309F
#1B309F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.179 H 267.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1B309F |
|---|---|
| RGB | rgb(27, 48, 159) |
| HSL | hsl(230, 71%, 36%) |
| HSV | hsv(230, 83%, 62%) |
| CMYK | cmyk(83%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.30, 34.62, -61.84) |
| CIE-LCH | lch(26.30, 70.88, 299.24°) |
| OKLab | oklab(37.85% -0.0077 -0.1792) |
| OKLCH | oklch(37.85% 0.179 267.5) |
| XYZ | xyz(7.7648, 4.8492, 33.3209) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Royal
#0C1793
ΔE00 6.24
Blueberry
#464196
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 6.94
Blue Blue
#2242C7
ΔE00 7.17
Darkslateblue
#483D8B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B309F #9F8A1B
analogous
#1B729F #1B309F #481B9F
triadic
#1B309F #9F1B30 #309F1B
tetradic
#1B309F #9F1B72 #9F8A1B #1B9F48
square
#1B309F #9F1B72 #9F8A1B #1B9F48
split-complementary
#1B309F #9F481B #729F1B
monochromatic
#091036 #12206B #1B309F #2440D3 #5369E2
Accessibility & contrast
On white
10.66
#1B309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1B309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B309F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B309F | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b309f; /* rgb */ color: rgb(27, 48, 159); /* oklch */ color: oklch(37.9% 0.179 267.5);
Tailwind
colors: {
custom: {
50: '#7168bc',
500: '#1b309f',
950: '#000000',
},
}SCSS
$custom: #1b309f; $custom-light: #7168bc; $custom-dark: #000000;
JSON
{
"hex": "#1b309f",
"rgb": {
"r": 27,
"g": 48,
"b": 159
},
"hsl": {
"h": 230.455,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37853,
"c": 0.17936,
"h": 267.5
},
"luminance": 0.0485
}Semantic roles & 50–950 ramp
primary
#1B309F
secondary
#C5B251
accent
#D13AEE
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81