#22309C#22309C
#22309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.174 H 269.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #22309C |
|---|---|
| RGB | rgb(34, 48, 156) |
| HSL | hsl(233, 64%, 37%) |
| HSV | hsv(233, 78%, 61%) |
| CMYK | cmyk(78.2%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.31, 34.11, -59.99) |
| CIE-LCH | lch(26.31, 69.00, 299.62°) |
| OKLab | oklab(37.86% -0.001 -0.1736) |
| OKLCH | oklch(37.86% 0.174 269.7) |
| XYZ | xyz(7.7153, 4.8534, 31.9762) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Royal
#0C1793
ΔE00 6.16
Blueberry
#464196
ΔE00 6.35
Indigo Blue
#3A18B1
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 6.95
Blue Blue
#2242C7
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22309C #9C8E22
analogous
#226D9C #22309C #51229C
triadic
#22309C #9C2230 #309C22
tetradic
#22309C #9C226D #9C8E22 #229C51
square
#22309C #9C226D #9C8E22 #229C51
split-complementary
#22309C #9C5122 #6D9C22
monochromatic
#0C1138 #17216A #22309C #2D3FCE #5D6BDC
Accessibility & contrast
On white
10.66
#22309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#22309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22309C
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22309C | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #22309c; /* rgb */ color: rgb(34, 48, 156); /* oklch */ color: oklch(37.9% 0.174 269.7);
Tailwind
colors: {
custom: {
50: '#7268ba',
500: '#22309c',
950: '#000000',
},
}SCSS
$custom: #22309c; $custom-light: #7268ba; $custom-dark: #000000;
JSON
{
"hex": "#22309c",
"rgb": {
"r": 34,
"g": 48,
"b": 156
},
"hsl": {
"h": 233.115,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.37857,
"c": 0.17365,
"h": 269.7
},
"luminance": 0.04854
}Semantic roles & 50–950 ramp
primary
#22309C
secondary
#C0B45A
accent
#D441E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81