#223F8F#223F8F
#223F8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.137 H 265.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #223F8F |
|---|---|
| RGB | rgb(34, 63, 143) |
| HSL | hsl(224, 62%, 35%) |
| HSV | hsv(224, 76%, 56%) |
| CMYK | cmyk(76.2%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.10, 19.04, -47.46) |
| CIE-LCH | lch(29.10, 51.14, 291.85°) |
| OKLab | oklab(39.57% -0.0109 -0.1368) |
| OKLCH | oklch(39.57% 0.137 265.4) |
| XYZ | xyz(7.3934, 5.8775, 26.7261) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.57
Darkish Blue
#014182
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 5.29
Twilight Blue
#0A437A
ΔE00 5.55
Blueberry
#464196
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F8F #8F7222
analogous
#22758F #223F8F #3C228F
triadic
#223F8F #8F223F #3F8F22
tetradic
#223F8F #8F2275 #8F7222 #228F3C
square
#223F8F #8F2275 #8F7222 #228F3C
split-complementary
#223F8F #8F3C22 #758F22
monochromatic
#0A132C #16295E #223F8F #2E55C0 #5577D7
Accessibility & contrast
On white
9.65
#223F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#223F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F8F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F8F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223f8f; /* rgb */ color: rgb(34, 63, 143); /* oklch */ color: oklch(39.6% 0.137 265.4);
Tailwind
colors: {
custom: {
50: '#6e73b0',
500: '#223f8f',
950: '#000000',
},
}SCSS
$custom: #223f8f; $custom-light: #6e73b0; $custom-dark: #000000;
JSON
{
"hex": "#223f8f",
"rgb": {
"r": 34,
"g": 63,
"b": 143
},
"hsl": {
"h": 224.037,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.39571,
"c": 0.13721,
"h": 265.4
},
"luminance": 0.05878
}Semantic roles & 50–950 ramp
primary
#223F8F
secondary
#BA9F52
accent
#BA43E5
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80