#223EA0#223EA0
#223EA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.162 H 266.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #223EA0 |
|---|---|
| RGB | rgb(34, 62, 160) |
| HSL | hsl(227, 65%, 38%) |
| HSV | hsv(227, 79%, 63%) |
| CMYK | cmyk(78.8%, 61.2%, 0%, 37.3%) |
| CIE-LAB | lab(30.21, 26.37, -56.03) |
| CIE-LCH | lch(30.21, 61.92, 295.20°) |
| OKLab | oklab(40.84% -0.0095 -0.1619) |
| OKLCH | oklch(40.84% 0.162 266.6) |
| XYZ | xyz(8.7253, 6.3224, 34.0114) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Cobalt
#0047AB
ΔE00 4.00
Cobalt (survey)
#1E488F
ΔE00 5.21
Blueberry
#464196
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.44
Darkish Blue
#014182
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223EA0 #A08422
analogous
#227DA0 #223EA0 #4522A0
triadic
#223EA0 #A0223E #3EA022
tetradic
#223EA0 #A0227D #A08422 #22A045
square
#223EA0 #A0227D #A08422 #22A045
split-complementary
#223EA0 #A04522 #7DA022
monochromatic
#0D173B #172A6E #223EA0 #2D52D2 #5F7BDD
Accessibility & contrast
On white
9.27
#223EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#223EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223EA0
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223EA0 | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223ea0; /* rgb */ color: rgb(34, 62, 160); /* oklch */ color: oklch(40.8% 0.162 266.6);
Tailwind
colors: {
custom: {
50: '#7272bd',
500: '#223ea0',
950: '#000000',
},
}SCSS
$custom: #223ea0; $custom-light: #7272bd; $custom-dark: #000000;
JSON
{
"hex": "#223ea0",
"rgb": {
"r": 34,
"g": 62,
"b": 160
},
"hsl": {
"h": 226.667,
"s": 64.948,
"l": 38.039
},
"oklch": {
"l": 0.40837,
"c": 0.16222,
"h": 266.6
},
"luminance": 0.06323
}Semantic roles & 50–950 ramp
primary
#223EA0
secondary
#C2AB5C
accent
#C340E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81