#22306E#22306E
#22306E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.109 H 270.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #22306E |
|---|---|
| RGB | rgb(34, 48, 110) |
| HSL | hsl(229, 53%, 28%) |
| HSV | hsv(229, 69%, 43%) |
| CMYK | cmyk(69.1%, 56.4%, 0%, 56.9%) |
| CIE-LAB | lab(22.23, 16.50, -37.84) |
| CIE-LCH | lch(22.23, 41.28, 293.56°) |
| OKLab | oklab(33.58% 0 -0.1087) |
| OKLCH | oklch(33.58% 0.109 270) |
| XYZ | xyz(4.5302, 3.5794, 15.2010) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.64
Marine Blue
#01386A
ΔE00 6.46
Navy Blue
#1B2A4A
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.47
Darkslateblue
#483D8B
ΔE00 7.85
Darkish Blue
#014182
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22306E #6E6022
analogous
#22566E #22306E #3A226E
triadic
#22306E #6E2230 #306E22
tetradic
#22306E #6E2256 #6E6022 #226E3A
square
#22306E #6E2256 #6E6022 #226E3A
split-complementary
#22306E #6E3A22 #566E22
monochromatic
#070A17 #141C3F #22306E #30449D #455DC5
Accessibility & contrast
On white
12.24
#22306E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#22306E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22306E
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22306E | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#053970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #22306e; /* rgb */ color: rgb(34, 48, 110); /* oklch */ color: oklch(33.6% 0.109 270.0);
Tailwind
colors: {
custom: {
50: '#676898',
500: '#22306e',
950: '#000000',
},
}SCSS
$custom: #22306e; $custom-light: #676898; $custom-dark: #000000;
JSON
{
"hex": "#22306e",
"rgb": {
"r": 34,
"g": 48,
"b": 110
},
"hsl": {
"h": 228.947,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.33578,
"c": 0.10871,
"h": 270
},
"luminance": 0.0358
}Semantic roles & 50–950 ramp
primary
#22306E
secondary
#A1914A
accent
#C24CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E