#223F9F#223F9F
#223F9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 266.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #223F9F |
|---|---|
| RGB | rgb(34, 63, 159) |
| HSL | hsl(226, 65%, 38%) |
| HSV | hsv(226, 79%, 62%) |
| CMYK | cmyk(78.6%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.39, 25.30, -55.12) |
| CIE-LCH | lch(30.39, 60.65, 294.66°) |
| OKLab | oklab(40.95% -0.0102 -0.1593) |
| OKLCH | oklch(40.95% 0.16 266.4) |
| XYZ | xyz(8.6930, 6.3973, 33.5708) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.14
Cobalt
#0047AB
ΔE00 3.73
Cobalt (survey)
#1E488F
ΔE00 4.81
Blueberry
#464196
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.58
Darkish Blue
#014182
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F9F #9F8222
analogous
#227D9F #223F9F #43229F
triadic
#223F9F #9F223F #3F9F22
tetradic
#223F9F #9F227D #9F8222 #229F43
square
#223F9F #9F227D #9F8222 #229F43
split-complementary
#223F9F #9F4322 #7D9F22
monochromatic
#0C173A #172B6D #223F9F #2D53D1 #5F7CDD
Accessibility & contrast
On white
9.21
#223F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#223F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F9F
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F9F | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #223f9f; /* rgb */ color: rgb(34, 63, 159); /* oklch */ color: oklch(40.9% 0.160 266.4);
Tailwind
colors: {
custom: {
50: '#7273bc',
500: '#223f9f',
950: '#000000',
},
}SCSS
$custom: #223f9f; $custom-light: #7273bc; $custom-dark: #000000;
JSON
{
"hex": "#223f9f",
"rgb": {
"r": 34,
"g": 63,
"b": 159
},
"hsl": {
"h": 226.08,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.40946,
"c": 0.1596,
"h": 266.4
},
"luminance": 0.06398
}Semantic roles & 50–950 ramp
primary
#223F9F
secondary
#C1AA5B
accent
#C140E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81