#23339F#23339F
#23339F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.174 H 269.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #23339F |
|---|---|
| RGB | rgb(35, 51, 159) |
| HSL | hsl(232, 64%, 38%) |
| HSV | hsv(232, 78%, 62%) |
| CMYK | cmyk(78%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.37, 33.38, -60.07) |
| CIE-LCH | lch(27.37, 68.72, 299.06°) |
| OKLab | oklab(38.73% -0.0019 -0.1739) |
| OKLCH | oklch(38.73% 0.174 269.4) |
| XYZ | xyz(8.1328, 5.2273, 33.3745) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.09
Blueberry
#464196
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.77
Royal
#0C1793
ΔE00 7.02
Ocean Blue
#4F42B5
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#23339F #9F8F23
analogous
#23719F #23339F #51239F
triadic
#23339F #9F2333 #339F23
tetradic
#23339F #9F2371 #9F8F23 #239F51
square
#23339F #9F2371 #9F8F23 #239F51
split-complementary
#23339F #9F5123 #719F23
monochromatic
#0D133B #18236D #23339F #2E43D1 #6070DC
Accessibility & contrast
On white
10.27
#23339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#23339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #23339F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##23339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##23339F | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #23339f; /* rgb */ color: rgb(35, 51, 159); /* oklch */ color: oklch(38.7% 0.174 269.4);
Tailwind
colors: {
custom: {
50: '#736bbc',
500: '#23339f',
950: '#000000',
},
}SCSS
$custom: #23339f; $custom-light: #736bbc; $custom-dark: #000000;
JSON
{
"hex": "#23339f",
"rgb": {
"r": 35,
"g": 51,
"b": 159
},
"hsl": {
"h": 232.258,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.3873,
"c": 0.17387,
"h": 269.4
},
"luminance": 0.05228
}Semantic roles & 50–950 ramp
primary
#23339F
secondary
#C1B45D
accent
#D241E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81