#24306E#24306E
#24306E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.108 H 271.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #24306E |
|---|---|
| RGB | rgb(36, 48, 110) |
| HSL | hsl(230, 51%, 29%) |
| HSV | hsv(230, 67%, 43%) |
| CMYK | cmyk(67.3%, 56.4%, 0%, 56.9%) |
| CIE-LAB | lab(22.35, 16.87, -37.63) |
| CIE-LCH | lch(22.35, 41.24, 294.14°) |
| OKLab | oklab(33.71% 0.0023 -0.108) |
| OKLCH | oklch(33.71% 0.108 271.2) |
| XYZ | xyz(4.5980, 3.6144, 15.2042) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.96
Marine Blue
#01386A
ΔE00 6.78
Navy Blue
#1B2A4A
ΔE00 6.98
Midnight Blue
#191970
ΔE00 7.38
Darkslateblue
#483D8B
ΔE00 7.62
Darkish Blue
#014182
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24306E #6E6224
analogous
#24556E #24306E #3D246E
triadic
#24306E #6E2430 #306E24
tetradic
#24306E #6E2455 #6E6224 #246E3D
square
#24306E #6E2455 #6E6224 #246E3D
split-complementary
#24306E #6E3D24 #556E24
monochromatic
#080A17 #151C40 #24306E #33449C #495DC3
Accessibility & contrast
On white
12.19
#24306E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#24306E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24306E
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24306E | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #24306e; /* rgb */ color: rgb(36, 48, 110); /* oklch */ color: oklch(33.7% 0.108 271.2);
Tailwind
colors: {
custom: {
50: '#686898',
500: '#24306e',
950: '#000000',
},
}SCSS
$custom: #24306e; $custom-light: #686898; $custom-dark: #000000;
JSON
{
"hex": "#24306e",
"rgb": {
"r": 36,
"g": 48,
"b": 110
},
"hsl": {
"h": 230.27,
"s": 50.685,
"l": 28.627
},
"oklch": {
"l": 0.33705,
"c": 0.10807,
"h": 271.2
},
"luminance": 0.03615
}Semantic roles & 50–950 ramp
primary
#24306E
secondary
#A1934D
accent
#C34EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E