#223D9C#223D9C
#223D9C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.158 H 266.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #223D9C |
|---|---|
| RGB | rgb(34, 61, 156) |
| HSL | hsl(227, 64%, 37%) |
| HSV | hsv(227, 78%, 61%) |
| CMYK | cmyk(78.2%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(29.61, 25.49, -54.59) |
| CIE-LCH | lch(29.61, 60.25, 295.03°) |
| OKLab | oklab(40.28% -0.0089 -0.1577) |
| OKLCH | oklch(40.28% 0.158 266.8) |
| XYZ | xyz(8.3271, 6.0769, 32.1801) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Cobalt
#0047AB
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 5.15
Blueberry
#464196
ΔE00 5.26
Blue Blue
#2242C7
ΔE00 6.03
Darkish Blue
#014182
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223D9C #9C8122
analogous
#227A9C #223D9C #44229C
triadic
#223D9C #9C223D #3D9C22
tetradic
#223D9C #9C227A #9C8122 #229C44
square
#223D9C #9C227A #9C8122 #229C44
split-complementary
#223D9C #9C4422 #7A9C22
monochromatic
#0C1638 #17296A #223D9C #2D51CE #5D79DC
Accessibility & contrast
On white
9.48
#223D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#223D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223D9C
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223D9C | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223d9c; /* rgb */ color: rgb(34, 61, 156); /* oklch */ color: oklch(40.3% 0.158 266.8);
Tailwind
colors: {
custom: {
50: '#7172ba',
500: '#223d9c',
950: '#000000',
},
}SCSS
$custom: #223d9c; $custom-light: #7172ba; $custom-dark: #000000;
JSON
{
"hex": "#223d9c",
"rgb": {
"r": 34,
"g": 61,
"b": 156
},
"hsl": {
"h": 226.721,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.4028,
"c": 0.15799,
"h": 266.8
},
"luminance": 0.06078
}Semantic roles & 50–950 ramp
primary
#223D9C
secondary
#C0A95A
accent
#C241E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81