#223FA1#223FA1
#223FA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.162 H 266.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #223FA1 |
|---|---|
| RGB | rgb(34, 63, 161) |
| HSL | hsl(226, 65%, 38%) |
| HSV | hsv(226, 79%, 63%) |
| CMYK | cmyk(78.9%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(30.56, 26.08, -56.06) |
| CIE-LCH | lch(30.56, 61.83, 294.95°) |
| OKLab | oklab(41.12% -0.0101 -0.162) |
| OKLCH | oklch(41.12% 0.162 266.4) |
| XYZ | xyz(8.8680, 6.4673, 34.4922) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Cobalt
#0047AB
ΔE00 3.71
Cobalt (survey)
#1E488F
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.29
Blueberry
#464196
ΔE00 5.39
Darkish Blue
#014182
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223FA1 #A18422
analogous
#227EA1 #223FA1 #4422A1
triadic
#223FA1 #A1223F #3FA122
tetradic
#223FA1 #A1227E #A18422 #22A144
square
#223FA1 #A1227E #A18422 #22A144
split-complementary
#223FA1 #A14422 #7EA122
monochromatic
#0D173C #172B6E #223FA1 #2D53D3 #607DDD
Accessibility & contrast
On white
9.16
#223FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#223FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223FA1
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223FA1 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #223fa1; /* rgb */ color: rgb(34, 63, 161); /* oklch */ color: oklch(41.1% 0.162 266.4);
Tailwind
colors: {
custom: {
50: '#7273be',
500: '#223fa1',
950: '#000000',
},
}SCSS
$custom: #223fa1; $custom-light: #7273be; $custom-dark: #000000;
JSON
{
"hex": "#223fa1",
"rgb": {
"r": 34,
"g": 63,
"b": 161
},
"hsl": {
"h": 226.299,
"s": 65.128,
"l": 38.235
},
"oklch": {
"l": 0.41124,
"c": 0.16234,
"h": 266.4
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#223FA1
secondary
#C2AB5D
accent
#C240E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81