#23246C#23246C
#23246C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.122 H 276.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #23246C |
|---|---|
| RGB | rgb(35, 36, 108) |
| HSL | hsl(239, 51%, 28%) |
| HSV | hsv(239, 68%, 42%) |
| CMYK | cmyk(67.6%, 66.7%, 0%, 57.6%) |
| CIE-LAB | lab(18.81, 24.32, -42.11) |
| CIE-LCH | lch(18.81, 48.63, 300.01°) |
| OKLab | oklab(31% 0.0128 -0.1213) |
| OKLCH | oklch(31% 0.122 276) |
| XYZ | xyz(4.0299, 2.7015, 14.4935) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.52
Darkblue (survey)
#030764
ΔE00 7.39
Dark Indigo
#1F0954
ΔE00 7.51
Royal
#0C1793
ΔE00 7.55
Dark Royal Blue
#02066F
ΔE00 7.61
Marine
#042E60
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23246C #6C6B23
analogous
#23486C #23246C #46236C
triadic
#23246C #6C2324 #246C23
tetradic
#23246C #6C2348 #6C6B23 #236C46
square
#23246C #6C2348 #6C6B23 #236C46
split-complementary
#23246C #6C4623 #486C23
monochromatic
#070817 #14153E #23246C #32339A #4648C3
Accessibility & contrast
On white
13.63
#23246C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#23246C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23246C
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23246C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23246C | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #23246c; /* rgb */ color: rgb(35, 36, 108); /* oklch */ color: oklch(31.0% 0.122 276.0);
Tailwind
colors: {
custom: {
50: '#685f97',
500: '#23246c',
950: '#000000',
},
}SCSS
$custom: #23246c; $custom-light: #685f97; $custom-dark: #000000;
JSON
{
"hex": "#23246c",
"rgb": {
"r": 35,
"g": 36,
"b": 108
},
"hsl": {
"h": 239.178,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.31,
"c": 0.12202,
"h": 276
},
"luminance": 0.02702
}Semantic roles & 50–950 ramp
primary
#23246C
secondary
#9F9E4B
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E