#23338F#23338F
#23338F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.152 H 269.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #23338F |
|---|---|
| RGB | rgb(35, 51, 143) |
| HSL | hsl(231, 61%, 35%) |
| HSV | hsv(231, 76%, 56%) |
| CMYK | cmyk(75.5%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.88, 27.37, -52.70) |
| CIE-LCH | lch(25.88, 59.39, 297.44°) |
| OKLab | oklab(37.18% -0.001 -0.1523) |
| OKLCH | oklch(37.18% 0.152 269.6) |
| XYZ | xyz(6.8332, 4.7074, 26.5298) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.15
Royal
#0C1793
ΔE00 7.38
Cobalt
#0047AB
ΔE00 7.69
Cobalt (survey)
#1E488F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23338F #8F7F23
analogous
#23698F #23338F #49238F
triadic
#23338F #8F2333 #338F23
tetradic
#23338F #8F2369 #8F7F23 #238F49
square
#23338F #8F2369 #8F7F23 #238F49
split-complementary
#23338F #8F4923 #698F23
monochromatic
#0B102D #17215E #23338F #2F45C0 #5769D6
Accessibility & contrast
On white
10.82
#23338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#23338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23338F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23338F | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #23338f; /* rgb */ color: rgb(35, 51, 143); /* oklch */ color: oklch(37.2% 0.152 269.6);
Tailwind
colors: {
custom: {
50: '#6f6ab1',
500: '#23338f',
950: '#000000',
},
}SCSS
$custom: #23338f; $custom-light: #6f6ab1; $custom-dark: #000000;
JSON
{
"hex": "#23338f",
"rgb": {
"r": 35,
"g": 51,
"b": 143
},
"hsl": {
"h": 231.111,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.37184,
"c": 0.1523,
"h": 269.6
},
"luminance": 0.04708
}Semantic roles & 50–950 ramp
primary
#23338F
secondary
#BAAB54
accent
#CC44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80