#223CA1#223CA1
#223CA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.166 H 267.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #223CA1 |
|---|---|
| RGB | rgb(34, 60, 161) |
| HSL | hsl(228, 65%, 38%) |
| HSV | hsv(228, 79%, 63%) |
| CMYK | cmyk(78.9%, 62.7%, 0%, 36.9%) |
| CIE-LAB | lab(29.77, 28.09, -57.35) |
| CIE-LCH | lch(29.77, 63.86, 296.10°) |
| OKLab | oklab(40.54% -0.0082 -0.1658) |
| OKLCH | oklch(40.54% 0.166 267.2) |
| XYZ | xyz(8.7063, 6.1440, 34.4384) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.10
Cobalt
#0047AB
ΔE00 4.59
Blueberry
#464196
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.37
Cobalt (survey)
#1E488F
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223CA1 #A18722
analogous
#227BA1 #223CA1 #4822A1
triadic
#223CA1 #A1223C #3CA122
tetradic
#223CA1 #A1227B #A18722 #22A148
square
#223CA1 #A1227B #A18722 #22A148
split-complementary
#223CA1 #A14822 #7BA122
monochromatic
#0D163C #17296E #223CA1 #2D4FD3 #607ADD
Accessibility & contrast
On white
9.42
#223CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#223CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223CA1
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223CA1 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223ca1; /* rgb */ color: rgb(34, 60, 161); /* oklch */ color: oklch(40.5% 0.166 267.2);
Tailwind
colors: {
custom: {
50: '#7271be',
500: '#223ca1',
950: '#000000',
},
}SCSS
$custom: #223ca1; $custom-light: #7271be; $custom-dark: #000000;
JSON
{
"hex": "#223ca1",
"rgb": {
"r": 34,
"g": 60,
"b": 161
},
"hsl": {
"h": 227.717,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.40538,
"c": 0.16604,
"h": 267.2
},
"luminance": 0.06145
}Semantic roles & 50–950 ramp
primary
#223CA1
secondary
#C2AD5D
accent
#C640E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81