#23338C#23338C
#23338C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.148 H 269.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #23338C |
|---|---|
| RGB | rgb(35, 51, 140) |
| HSL | hsl(231, 60%, 34%) |
| HSV | hsv(231, 75%, 55%) |
| CMYK | cmyk(75%, 63.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.62, 26.22, -51.28) |
| CIE-LCH | lch(25.62, 57.60, 297.08°) |
| OKLab | oklab(36.9% -0.0009 -0.1481) |
| OKLCH | oklch(36.9% 0.148 269.7) |
| XYZ | xyz(6.6090, 4.6177, 25.3489) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.13
Royal
#0C1793
ΔE00 7.56
Cobalt (survey)
#1E488F
ΔE00 7.67
Darkish Blue
#014182
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23338C #8C7C23
analogous
#23688C #23338C #48238C
triadic
#23338C #8C2333 #338C23
tetradic
#23338C #8C2368 #8C7C23 #238C48
square
#23338C #8C2368 #8C7C23 #238C48
split-complementary
#23338C #8C4823 #688C23
monochromatic
#0B0F2A #17215B #23338C #2F45BD #5568D4
Accessibility & contrast
On white
10.92
#23338C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#23338C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23338C
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23338C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23338C | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #23338c; /* rgb */ color: rgb(35, 51, 140); /* oklch */ color: oklch(36.9% 0.148 269.7);
Tailwind
colors: {
custom: {
50: '#6e6aae',
500: '#23338c',
950: '#000000',
},
}SCSS
$custom: #23338c; $custom-light: #6e6aae; $custom-dark: #000000;
JSON
{
"hex": "#23338c",
"rgb": {
"r": 35,
"g": 51,
"b": 140
},
"hsl": {
"h": 230.857,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.36903,
"c": 0.14814,
"h": 269.7
},
"luminance": 0.04618
}Semantic roles & 50–950 ramp
primary
#23338C
secondary
#B8A952
accent
#CB45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F