#22338F#22338F
#22338F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.153 H 269.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #22338F |
|---|---|
| RGB | rgb(34, 51, 143) |
| HSL | hsl(231, 62%, 35%) |
| HSV | hsv(231, 76%, 56%) |
| CMYK | cmyk(76.2%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.83, 27.25, -52.79) |
| CIE-LCH | lch(25.83, 59.41, 297.30°) |
| OKLab | oklab(37.13% -0.002 -0.1526) |
| OKLCH | oklch(37.13% 0.153 269.3) |
| XYZ | xyz(6.7997, 4.6902, 26.5282) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.25
Royal
#0C1793
ΔE00 7.40
Cobalt
#0047AB
ΔE00 7.63
Cobalt (survey)
#1E488F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22338F #8F7E22
analogous
#226A8F #22338F #47228F
triadic
#22338F #8F2233 #338F22
tetradic
#22338F #8F226A #8F7E22 #228F47
square
#22338F #8F226A #8F7E22 #228F47
split-complementary
#22338F #8F4722 #6A8F22
monochromatic
#0A102C #16215E #22338F #2E45C0 #5569D7
Accessibility & contrast
On white
10.83
#22338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#22338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22338F
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22338F | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 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: #22338f; /* rgb */ color: rgb(34, 51, 143); /* oklch */ color: oklch(37.1% 0.153 269.3);
Tailwind
colors: {
custom: {
50: '#6f6ab1',
500: '#22338f',
950: '#000000',
},
}SCSS
$custom: #22338f; $custom-light: #6f6ab1; $custom-dark: #000000;
JSON
{
"hex": "#22338f",
"rgb": {
"r": 34,
"g": 51,
"b": 143
},
"hsl": {
"h": 230.642,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.37132,
"c": 0.15259,
"h": 269.3
},
"luminance": 0.04691
}Semantic roles & 50–950 ramp
primary
#22338F
secondary
#BAAA52
accent
#CB43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80