#18308F#18308F
#18308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.159 H 266.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #18308F |
|---|---|
| RGB | rgb(24, 48, 143) |
| HSL | hsl(228, 71%, 33%) |
| HSV | hsv(228, 83%, 56%) |
| CMYK | cmyk(83.2%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.61, 28.27, -54.81) |
| CIE-LCH | lch(24.61, 61.67, 297.28°) |
| OKLab | oklab(36.11% -0.0092 -0.1587) |
| OKLCH | oklch(36.11% 0.159 266.7) |
| XYZ | xyz(6.3898, 4.2905, 26.4727) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 6.67
Blueberry
#464196
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.24
Midnight Blue
#191970
ΔE00 7.45
Darkish Blue
#014182
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18308F #8F7718
analogous
#186B8F #18308F #3B188F
triadic
#18308F #8F1830 #308F18
tetradic
#18308F #8F186B #8F7718 #188F3B
square
#18308F #8F186B #8F7718 #188F3B
split-complementary
#18308F #8F3B18 #6B8F18
monochromatic
#060D26 #0F1E5B #18308F #2142C3 #4262DF
Accessibility & contrast
On white
11.30
#18308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#18308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18308F
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18308F | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #18308f; /* rgb */ color: rgb(24, 48, 143); /* oklch */ color: oklch(36.1% 0.159 266.7);
Tailwind
colors: {
custom: {
50: '#6c68b1',
500: '#18308f',
950: '#000000',
},
}SCSS
$custom: #18308f; $custom-light: #6c68b1; $custom-dark: #000000;
JSON
{
"hex": "#18308f",
"rgb": {
"r": 24,
"g": 48,
"b": 143
},
"hsl": {
"h": 227.899,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.36107,
"c": 0.15899,
"h": 266.7
},
"luminance": 0.04291
}Semantic roles & 50–950 ramp
primary
#18308F
secondary
#C0A743
accent
#CA3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80