#22309F#22309F
#22309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.178 H 269.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #22309F |
|---|---|
| RGB | rgb(34, 48, 159) |
| HSL | hsl(233, 65%, 38%) |
| HSV | hsv(233, 79%, 62%) |
| CMYK | cmyk(78.6%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.61, 35.21, -61.32) |
| CIE-LCH | lch(26.61, 70.71, 299.86°) |
| OKLab | oklab(38.16% -0.0013 -0.1776) |
| OKLCH | oklch(38.16% 0.178 269.6) |
| XYZ | xyz(7.9725, 4.9563, 33.3306) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Royal
#0C1793
ΔE00 6.19
Blueberry
#464196
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 7.11
Blue Blue
#2242C7
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22309F #9F9122
analogous
#226E9F #22309F #52229F
triadic
#22309F #9F2230 #309F22
tetradic
#22309F #9F226E #9F9122 #229F52
square
#22309F #9F226E #9F9122 #229F52
split-complementary
#22309F #9F5222 #6E9F22
monochromatic
#0C123A #17216D #22309F #2D3FD1 #5F6DDD
Accessibility & contrast
On white
10.55
#22309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#22309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22309F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22309F | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #22309f; /* rgb */ color: rgb(34, 48, 159); /* oklch */ color: oklch(38.2% 0.178 269.6);
Tailwind
colors: {
custom: {
50: '#7368bc',
500: '#22309f',
950: '#000000',
},
}SCSS
$custom: #22309f; $custom-light: #7368bc; $custom-dark: #000000;
JSON
{
"hex": "#22309f",
"rgb": {
"r": 34,
"g": 48,
"b": 159
},
"hsl": {
"h": 233.28,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.38163,
"c": 0.17756,
"h": 269.6
},
"luminance": 0.04957
}Semantic roles & 50–950 ramp
primary
#22309F
secondary
#C1B65B
accent
#D540E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81