#223CA7#223CA7
#223CA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.174 H 267.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #223CA7 |
|---|---|
| RGB | rgb(34, 60, 167) |
| HSL | hsl(228, 66%, 39%) |
| HSV | hsv(228, 80%, 65%) |
| CMYK | cmyk(79.6%, 64.1%, 0%, 34.5%) |
| CIE-LAB | lab(30.31, 30.38, -60.10) |
| CIE-LCH | lch(30.31, 67.34, 296.82°) |
| OKLab | oklab(41.1% -0.0083 -0.1739) |
| OKLCH | oklch(41.1% 0.174 267.3) |
| XYZ | xyz(9.2482, 6.3608, 37.2921) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blue Blue
#2242C7
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.66
Blueberry
#464196
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.22
Cobalt (survey)
#1E488F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223CA7 #A78D22
analogous
#227EA7 #223CA7 #4B22A7
triadic
#223CA7 #A7223C #3CA722
tetradic
#223CA7 #A7227E #A78D22 #22A74B
square
#223CA7 #A7227E #A78D22 #22A74B
split-complementary
#223CA7 #A74B22 #7EA722
monochromatic
#0D1741 #182A74 #223CA7 #3151D5 #647CDF
Accessibility & contrast
On white
9.24
#223CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#223CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223CA7
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223CA7 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223ca7; /* rgb */ color: rgb(34, 60, 167); /* oklch */ color: oklch(41.1% 0.174 267.3);
Tailwind
colors: {
custom: {
50: '#7471c2',
500: '#223ca7',
950: '#000000',
},
}SCSS
$custom: #223ca7; $custom-light: #7471c2; $custom-dark: #000000;
JSON
{
"hex": "#223ca7",
"rgb": {
"r": 34,
"g": 60,
"b": 167
},
"hsl": {
"h": 228.271,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.41095,
"c": 0.17409,
"h": 267.3
},
"luminance": 0.06362
}Semantic roles & 50–950 ramp
primary
#223CA7
secondary
#C5B160
accent
#C83FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81