#22306F#22306F
#22306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.110 H 270.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #22306F |
|---|---|
| RGB | rgb(34, 48, 111) |
| HSL | hsl(229, 53%, 28%) |
| HSV | hsv(229, 69%, 44%) |
| CMYK | cmyk(69.4%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.31, 16.90, -38.36) |
| CIE-LCH | lch(22.31, 41.91, 293.77°) |
| OKLab | oklab(33.66% 0.0001 -0.1102) |
| OKLCH | oklch(33.66% 0.11 270.1) |
| XYZ | xyz(4.5849, 3.6013, 15.4893) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.73
Marine Blue
#01386A
ΔE00 6.50
Navy Blue
#1B2A4A
ΔE00 7.06
Midnight Blue
#191970
ΔE00 7.38
Darkslateblue
#483D8B
ΔE00 7.75
Darkish Blue
#014182
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22306F #6F6122
analogous
#22566F #22306F #3A226F
triadic
#22306F #6F2230 #306F22
tetradic
#22306F #6F2256 #6F6122 #226F3A
square
#22306F #6F2256 #6F6122 #226F3A
split-complementary
#22306F #6F3A22 #566F22
monochromatic
#070A17 #141C40 #22306F #30449E #455DC6
Accessibility & contrast
On white
12.21
#22306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#22306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22306F
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22306F | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #22306f; /* rgb */ color: rgb(34, 48, 111); /* oklch */ color: oklch(33.7% 0.110 270.1);
Tailwind
colors: {
custom: {
50: '#676899',
500: '#22306f',
950: '#000000',
},
}SCSS
$custom: #22306f; $custom-light: #676899; $custom-dark: #000000;
JSON
{
"hex": "#22306f",
"rgb": {
"r": 34,
"g": 48,
"b": 111
},
"hsl": {
"h": 229.091,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.33661,
"c": 0.11023,
"h": 270.1
},
"luminance": 0.03602
}Semantic roles & 50–950 ramp
primary
#22306F
secondary
#A2924A
accent
#C24BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E