#223F96#223F96
#223F96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.147 H 265.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #223F96 |
|---|---|
| RGB | rgb(34, 63, 150) |
| HSL | hsl(225, 63%, 36%) |
| HSV | hsv(225, 77%, 59%) |
| CMYK | cmyk(77.3%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(29.65, 21.79, -50.86) |
| CIE-LCH | lch(29.65, 55.33, 293.20°) |
| OKLab | oklab(40.16% -0.0105 -0.1467) |
| OKLCH | oklch(40.16% 0.147 265.9) |
| XYZ | xyz(7.9403, 6.0962, 29.6065) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.01
Cobalt
#0047AB
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.29
Darkish Blue
#014182
ΔE00 5.20
Blueberry
#464196
ΔE00 5.55
Twilight Blue
#0A437A
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F96 #967922
analogous
#227996 #223F96 #3F2296
triadic
#223F96 #96223F #3F9622
tetradic
#223F96 #962279 #967922 #22963F
square
#223F96 #962279 #967922 #22963F
split-complementary
#223F96 #963F22 #799622
monochromatic
#0B1532 #172A64 #223F96 #2D54C8 #5979D9
Accessibility & contrast
On white
9.46
#223F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#223F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F96
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F96 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223f96; /* rgb */ color: rgb(34, 63, 150); /* oklch */ color: oklch(40.2% 0.147 265.9);
Tailwind
colors: {
custom: {
50: '#6f73b6',
500: '#223f96',
950: '#000000',
},
}SCSS
$custom: #223f96; $custom-light: #6f73b6; $custom-dark: #000000;
JSON
{
"hex": "#223f96",
"rgb": {
"r": 34,
"g": 63,
"b": 150
},
"hsl": {
"h": 225,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.40161,
"c": 0.14712,
"h": 265.9
},
"luminance": 0.06097
}Semantic roles & 50–950 ramp
primary
#223F96
secondary
#BEA456
accent
#BD42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80