#223A9C#223A9C
#223A9C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.162 H 267.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #223A9C |
|---|---|
| RGB | rgb(34, 58, 156) |
| HSL | hsl(228, 64%, 37%) |
| HSV | hsv(228, 78%, 61%) |
| CMYK | cmyk(78.2%, 62.8%, 0%, 38.8%) |
| CIE-LAB | lab(28.81, 27.52, -55.89) |
| CIE-LCH | lch(28.81, 62.29, 296.21°) |
| OKLab | oklab(39.69% -0.0069 -0.1616) |
| OKLCH | oklch(39.69% 0.162 267.6) |
| XYZ | xyz(8.1714, 5.7656, 32.1283) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Cobalt
#0047AB
ΔE00 5.23
Blueberry
#464196
ΔE00 5.24
Cobalt (survey)
#1E488F
ΔE00 6.11
Blue Blue
#2242C7
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A9C #9C8422
analogous
#22779C #223A9C #47229C
triadic
#223A9C #9C223A #3A9C22
tetradic
#223A9C #9C2277 #9C8422 #229C47
square
#223A9C #9C2277 #9C8422 #229C47
split-complementary
#223A9C #9C4722 #779C22
monochromatic
#0C1538 #17276A #223A9C #2D4DCE #5D76DC
Accessibility & contrast
On white
9.75
#223A9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#223A9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A9C
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A9C | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #223a9c; /* rgb */ color: rgb(34, 58, 156); /* oklch */ color: oklch(39.7% 0.162 267.6);
Tailwind
colors: {
custom: {
50: '#7170ba',
500: '#223a9c',
950: '#000000',
},
}SCSS
$custom: #223a9c; $custom-light: #7170ba; $custom-dark: #000000;
JSON
{
"hex": "#223a9c",
"rgb": {
"r": 34,
"g": 58,
"b": 156
},
"hsl": {
"h": 228.197,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.39691,
"c": 0.16173,
"h": 267.6
},
"luminance": 0.05766
}Semantic roles & 50–950 ramp
primary
#223A9C
secondary
#C0AC5A
accent
#C641E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81