#223BA8#223BA8
#223BA8 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.177 H 267.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #223BA8 |
|---|---|
| RGB | rgb(34, 59, 168) |
| HSL | hsl(229, 66%, 40%) |
| HSV | hsv(229, 80%, 66%) |
| CMYK | cmyk(79.8%, 64.9%, 0%, 34.1%) |
| CIE-LAB | lab(30.14, 31.42, -60.96) |
| CIE-LCH | lch(30.14, 68.58, 297.27°) |
| OKLab | oklab(41% -0.0078 -0.1764) |
| OKLCH | oklch(41% 0.177 267.5) |
| XYZ | xyz(9.2891, 6.2941, 37.7635) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.07
Blue Blue
#2242C7
ΔE00 4.52
Cobalt
#0047AB
ΔE00 4.98
Blueberry
#464196
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 6.12
Cobalt (survey)
#1E488F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223BA8 #A88F22
analogous
#227EA8 #223BA8 #4C22A8
triadic
#223BA8 #A8223B #3BA822
tetradic
#223BA8 #A8227E #A88F22 #22A84C
square
#223BA8 #A8227E #A88F22 #22A84C
split-complementary
#223BA8 #A84C22 #7EA822
monochromatic
#0D1742 #182975 #223BA8 #3250D5 #657CE0
Accessibility & contrast
On white
9.30
#223BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#223BA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223BA8
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223BA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223BA8 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223ba8; /* rgb */ color: rgb(34, 59, 168); /* oklch */ color: oklch(41.0% 0.177 267.5);
Tailwind
colors: {
custom: {
50: '#7470c3',
500: '#223ba8',
950: '#000000',
},
}SCSS
$custom: #223ba8; $custom-light: #7470c3; $custom-dark: #000000;
JSON
{
"hex": "#223ba8",
"rgb": {
"r": 34,
"g": 59,
"b": 168
},
"hsl": {
"h": 228.806,
"s": 66.337,
"l": 39.608
},
"oklch": {
"l": 0.41003,
"c": 0.17661,
"h": 267.5
},
"luminance": 0.06295
}Semantic roles & 50–950 ramp
primary
#223BA8
secondary
#C5B261
accent
#C93FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82