#23338E#23338E
#23338E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.151 H 269.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #23338E |
|---|---|
| RGB | rgb(35, 51, 142) |
| HSL | hsl(231, 60%, 35%) |
| HSV | hsv(231, 75%, 56%) |
| CMYK | cmyk(75.4%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.79, 26.99, -52.23) |
| CIE-LCH | lch(25.79, 58.79, 297.33°) |
| OKLab | oklab(37.09% -0.0009 -0.1509) |
| OKLCH | oklch(37.09% 0.151 269.6) |
| XYZ | xyz(6.7578, 4.6773, 26.1326) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.14
Royal
#0C1793
ΔE00 7.44
Cobalt (survey)
#1E488F
ΔE00 7.73
Cobalt
#0047AB
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23338E #8E7E23
analogous
#23698E #23338E #49238E
triadic
#23338E #8E2333 #338E23
tetradic
#23338E #8E2369 #8E7E23 #238E49
square
#23338E #8E2369 #8E7E23 #238E49
split-complementary
#23338E #8E4923 #698E23
monochromatic
#0B102C #17215D #23338E #2F45BF #5669D5
Accessibility & contrast
On white
10.85
#23338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#23338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23338E
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23338E | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #23338e; /* rgb */ color: rgb(35, 51, 142); /* oklch */ color: oklch(37.1% 0.151 269.6);
Tailwind
colors: {
custom: {
50: '#6f6ab0',
500: '#23338e',
950: '#000000',
},
}SCSS
$custom: #23338e; $custom-light: #6f6ab0; $custom-dark: #000000;
JSON
{
"hex": "#23338e",
"rgb": {
"r": 35,
"g": 51,
"b": 142
},
"hsl": {
"h": 231.028,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.3709,
"c": 0.15092,
"h": 269.6
},
"luminance": 0.04678
}Semantic roles & 50–950 ramp
primary
#23338E
secondary
#B9AA53
accent
#CC44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80