#23339C#23339C
#23339C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.170 H 269.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #23339C |
|---|---|
| RGB | rgb(35, 51, 156) |
| HSL | hsl(232, 63%, 37%) |
| HSV | hsv(232, 78%, 61%) |
| CMYK | cmyk(77.6%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.09, 32.27, -58.71) |
| CIE-LCH | lch(27.09, 66.99, 298.79°) |
| OKLab | oklab(38.43% -0.0017 -0.1699) |
| OKLCH | oklch(38.43% 0.17 269.4) |
| XYZ | xyz(7.8757, 5.1244, 32.0201) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 6.61
Blue Blue
#2242C7
ΔE00 6.97
Royal
#0C1793
ΔE00 7.01
Cobalt
#0047AB
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23339C #9C8C23
analogous
#23709C #23339C #4F239C
triadic
#23339C #9C2333 #339C23
tetradic
#23339C #9C2370 #9C8C23 #239C4F
square
#23339C #9C2370 #9C8C23 #239C4F
split-complementary
#23339C #9C4F23 #709C23
monochromatic
#0D1238 #18236A #23339C #2E43CE #5E6FDB
Accessibility & contrast
On white
10.37
#23339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#23339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23339C
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23339C | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #23339c; /* rgb */ color: rgb(35, 51, 156); /* oklch */ color: oklch(38.4% 0.170 269.4);
Tailwind
colors: {
custom: {
50: '#726bba',
500: '#23339c',
950: '#000000',
},
}SCSS
$custom: #23339c; $custom-light: #726bba; $custom-dark: #000000;
JSON
{
"hex": "#23339c",
"rgb": {
"r": 35,
"g": 51,
"b": 156
},
"hsl": {
"h": 232.066,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.38434,
"c": 0.16991,
"h": 269.4
},
"luminance": 0.05125
}Semantic roles & 50–950 ramp
primary
#23339C
secondary
#C0B25B
accent
#D141E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81