#23286F#23286F
#23286F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.121 H 274.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #23286F |
|---|---|
| RGB | rgb(35, 40, 111) |
| HSL | hsl(236, 52%, 29%) |
| HSV | hsv(236, 68%, 44%) |
| CMYK | cmyk(68.5%, 64%, 0%, 56.5%) |
| CIE-LAB | lab(20.13, 22.70, -41.89) |
| CIE-LCH | lch(20.13, 47.64, 298.45°) |
| OKLab | oklab(32.06% 0.0089 -0.1207) |
| OKLCH | oklch(32.06% 0.121 274.2) |
| XYZ | xyz(4.3202, 3.0222, 15.3915) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.53
Marine
#042E60
ΔE00 6.75
Royal
#0C1793
ΔE00 7.87
Darkslateblue
#483D8B
ΔE00 8.10
Navy Blue
#1B2A4A
ΔE00 8.18
Darkblue (survey)
#030764
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23286F #6F6A23
analogous
#234E6F #23286F #44236F
triadic
#23286F #6F2328 #286F23
tetradic
#23286F #6F234E #6F6A23 #236F44
square
#23286F #6F234E #6F6A23 #236F44
split-complementary
#23286F #6F4423 #4E6F23
monochromatic
#070817 #141740 #23286F #32399E #4750C5
Accessibility & contrast
On white
13.09
#23286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#23286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23286F
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23286F | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #23286f; /* rgb */ color: rgb(35, 40, 111); /* oklch */ color: oklch(32.1% 0.121 274.2);
Tailwind
colors: {
custom: {
50: '#686299',
500: '#23286f',
950: '#000000',
},
}SCSS
$custom: #23286f; $custom-light: #686299; $custom-dark: #000000;
JSON
{
"hex": "#23286f",
"rgb": {
"r": 35,
"g": 40,
"b": 111
},
"hsl": {
"h": 236.053,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.32059,
"c": 0.12101,
"h": 274.2
},
"luminance": 0.03023
}Semantic roles & 50–950 ramp
primary
#23286F
secondary
#A29D4C
accent
#D24CDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E