#223F9E#223F9E
#223F9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 266.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #223F9E |
|---|---|
| RGB | rgb(34, 63, 158) |
| HSL | hsl(226, 65%, 38%) |
| HSV | hsv(226, 78%, 62%) |
| CMYK | cmyk(78.5%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.31, 24.92, -54.66) |
| CIE-LCH | lch(30.31, 60.07, 294.51°) |
| OKLab | oklab(40.86% -0.0102 -0.1579) |
| OKLCH | oklch(40.86% 0.158 266.3) |
| XYZ | xyz(8.6066, 6.3627, 33.1157) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Cobalt
#0047AB
ΔE00 3.75
Cobalt (survey)
#1E488F
ΔE00 4.71
Blueberry
#464196
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F9E #9E8122
analogous
#227D9E #223F9E #43229E
triadic
#223F9E #9E223F #3F9E22
tetradic
#223F9E #9E227D #9E8122 #229E43
square
#223F9E #9E227D #9E8122 #229E43
split-complementary
#223F9E #9E4322 #7D9E22
monochromatic
#0C1739 #172B6C #223F9E #2D53D0 #5E7CDC
Accessibility & contrast
On white
9.24
#223F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#223F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F9E
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F9E | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223f9e; /* rgb */ color: rgb(34, 63, 158); /* oklch */ color: oklch(40.9% 0.158 266.3);
Tailwind
colors: {
custom: {
50: '#7173bb',
500: '#223f9e',
950: '#000000',
},
}SCSS
$custom: #223f9e; $custom-light: #7173bb; $custom-dark: #000000;
JSON
{
"hex": "#223f9e",
"rgb": {
"r": 34,
"g": 63,
"b": 158
},
"hsl": {
"h": 225.968,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.40857,
"c": 0.15823,
"h": 266.3
},
"luminance": 0.06364
}Semantic roles & 50–950 ramp
primary
#223F9E
secondary
#C1A95B
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81