#223F9B#223F9B
#223F9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.154 H 266.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #223F9B |
|---|---|
| RGB | rgb(34, 63, 155) |
| HSL | hsl(226, 64%, 37%) |
| HSV | hsv(226, 78%, 61%) |
| CMYK | cmyk(78.1%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.06, 23.75, -53.24) |
| CIE-LCH | lch(30.06, 58.30, 294.04°) |
| OKLab | oklab(40.59% -0.0103 -0.1537) |
| OKLCH | oklch(40.59% 0.154 266.2) |
| XYZ | xyz(8.3515, 6.2607, 31.7723) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.84
Cobalt (survey)
#1E488F
ΔE00 4.43
Blueberry
#464196
ΔE00 5.41
Darkish Blue
#014182
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F9B #9B7E22
analogous
#227C9B #223F9B #42229B
triadic
#223F9B #9B223F #3F9B22
tetradic
#223F9B #9B227C #9B7E22 #229B42
square
#223F9B #9B227C #9B7E22 #229B42
split-complementary
#223F9B #9B4222 #7C9B22
monochromatic
#0C1637 #172B69 #223F9B #2D53CD #5C7BDB
Accessibility & contrast
On white
9.32
#223F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#223F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F9B
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F9B | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223f9b; /* rgb */ color: rgb(34, 63, 155); /* oklch */ color: oklch(40.6% 0.154 266.2);
Tailwind
colors: {
custom: {
50: '#7173b9',
500: '#223f9b',
950: '#000000',
},
}SCSS
$custom: #223f9b; $custom-light: #7173b9; $custom-dark: #000000;
JSON
{
"hex": "#223f9b",
"rgb": {
"r": 34,
"g": 63,
"b": 155
},
"hsl": {
"h": 225.62,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.40594,
"c": 0.15409,
"h": 266.2
},
"luminance": 0.06262
}Semantic roles & 50–950 ramp
primary
#223F9B
secondary
#C0A759
accent
#BF41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81