#223F94#223F94
#223F94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.144 H 265.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #223F94 |
|---|---|
| RGB | rgb(34, 63, 148) |
| HSL | hsl(225, 63%, 36%) |
| HSV | hsv(225, 77%, 58%) |
| CMYK | cmyk(77%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.49, 21.01, -49.89) |
| CIE-LCH | lch(29.49, 54.14, 292.83°) |
| OKLab | oklab(39.99% -0.0106 -0.1439) |
| OKLCH | oklch(39.99% 0.144 265.8) |
| XYZ | xyz(7.7806, 6.0324, 28.7655) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.86
Cobalt
#0047AB
ΔE00 4.24
Sapphire (survey)
#2138AB
ΔE00 4.57
Darkish Blue
#014182
ΔE00 4.97
Blueberry
#464196
ΔE00 5.63
Twilight Blue
#0A437A
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F94 #947722
analogous
#227894 #223F94 #3E2294
triadic
#223F94 #94223F #3F9422
tetradic
#223F94 #942278 #947722 #22943E
square
#223F94 #942278 #947722 #22943E
split-complementary
#223F94 #943E22 #789422
monochromatic
#0B1530 #172A62 #223F94 #2D54C6 #5879D9
Accessibility & contrast
On white
9.52
#223F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#223F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F94
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F94 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #223f94; /* rgb */ color: rgb(34, 63, 148); /* oklch */ color: oklch(40.0% 0.144 265.8);
Tailwind
colors: {
custom: {
50: '#6f73b4',
500: '#223f94',
950: '#000000',
},
}SCSS
$custom: #223f94; $custom-light: #6f73b4; $custom-dark: #000000;
JSON
{
"hex": "#223f94",
"rgb": {
"r": 34,
"g": 63,
"b": 148
},
"hsl": {
"h": 224.737,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.39991,
"c": 0.14431,
"h": 265.8
},
"luminance": 0.06033
}Semantic roles & 50–950 ramp
primary
#223F94
secondary
#BDA255
accent
#BC42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80