#24328F#24328F
#24328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.153 H 270.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #24328F |
|---|---|
| RGB | rgb(36, 50, 143) |
| HSL | hsl(232, 60%, 35%) |
| HSV | hsv(232, 75%, 56%) |
| CMYK | cmyk(74.8%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.68, 28.16, -53.04) |
| CIE-LCH | lch(25.68, 60.05, 297.97°) |
| OKLab | oklab(37.05% 0.0008 -0.1533) |
| OKLCH | oklch(37.05% 0.153 270.3) |
| XYZ | xyz(6.8244, 4.6387, 26.5170) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.19
Blueberry
#464196
ΔE00 5.87
Darkslateblue
#483D8B
ΔE00 6.12
Royal
#0C1793
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.72
Cobalt
#0047AB
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#24328F #8F8124
analogous
#24678F #24328F #4C248F
triadic
#24328F #8F2432 #328F24
tetradic
#24328F #8F2467 #8F8124 #248F4C
square
#24328F #8F2467 #8F8124 #248F4C
split-complementary
#24328F #8F4C24 #678F24
monochromatic
#0B102D #18215E #24328F #3043C0 #5869D5
Accessibility & contrast
On white
10.89
#24328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#24328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #24328F
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##24328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##24328F | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #24328f; /* rgb */ color: rgb(36, 50, 143); /* oklch */ color: oklch(37.0% 0.153 270.3);
Tailwind
colors: {
custom: {
50: '#6f6ab1',
500: '#24328f',
950: '#000000',
},
}SCSS
$custom: #24328f; $custom-light: #6f6ab1; $custom-dark: #000000;
JSON
{
"hex": "#24328f",
"rgb": {
"r": 36,
"g": 50,
"b": 143
},
"hsl": {
"h": 232.15,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.37047,
"c": 0.15327,
"h": 270.3
},
"luminance": 0.04639
}Semantic roles & 50–950 ramp
primary
#24328F
secondary
#B9AC55
accent
#CE45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80