#18309F#18309F
#18309F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.180 H 266.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #18309F |
|---|---|
| RGB | rgb(24, 48, 159) |
| HSL | hsl(229, 74%, 36%) |
| HSV | hsv(229, 85%, 62%) |
| CMYK | cmyk(84.9%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.19, 34.41, -62.03) |
| CIE-LCH | lch(26.19, 70.94, 299.01°) |
| OKLab | oklab(37.74% -0.0101 -0.1798) |
| OKLCH | oklch(37.74% 0.18 266.8) |
| XYZ | xyz(7.6895, 4.8104, 33.3174) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Royal
#0C1793
ΔE00 6.27
Blueberry
#464196
ΔE00 6.89
Indigo Blue
#3A18B1
ΔE00 7.08
Blue Blue
#2242C7
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18309F #9F8718
analogous
#18739F #18309F #43189F
triadic
#18309F #9F1830 #309F18
tetradic
#18309F #9F1873 #9F8718 #189F43
square
#18309F #9F1873 #9F8718 #189F43
split-complementary
#18309F #9F4318 #739F18
monochromatic
#081035 #10206A #18309F #2040D4 #4D68E4
Accessibility & contrast
On white
10.70
#18309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#18309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18309F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18309F | 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)
#0045A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #18309f; /* rgb */ color: rgb(24, 48, 159); /* oklch */ color: oklch(37.7% 0.180 266.8);
Tailwind
colors: {
custom: {
50: '#7068bc',
500: '#18309f',
950: '#000000',
},
}SCSS
$custom: #18309f; $custom-light: #7068bc; $custom-dark: #000000;
JSON
{
"hex": "#18309f",
"rgb": {
"r": 24,
"g": 48,
"b": 159
},
"hsl": {
"h": 229.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.37739,
"c": 0.18009,
"h": 266.8
},
"luminance": 0.04811
}Semantic roles & 50–950 ramp
primary
#18309F
secondary
#C6B14D
accent
#D037F0
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090612
muted
#7B7A81