#223C94#223C94
#223C94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.148 H 266.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #223C94 |
|---|---|
| RGB | rgb(34, 60, 148) |
| HSL | hsl(226, 63%, 36%) |
| HSV | hsv(226, 77%, 58%) |
| CMYK | cmyk(77%, 59.5%, 0%, 42%) |
| CIE-LAB | lab(28.67, 23.06, -51.24) |
| CIE-LCH | lch(28.67, 56.19, 294.23°) |
| OKLab | oklab(39.37% -0.0083 -0.1479) |
| OKLCH | oklch(39.37% 0.148 266.8) |
| XYZ | xyz(7.6190, 5.7091, 28.7117) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Cobalt (survey)
#1E488F
ΔE00 4.90
Cobalt
#0047AB
ΔE00 4.97
Blueberry
#464196
ΔE00 5.38
Darkish Blue
#014182
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223C94 #947A22
analogous
#227594 #223C94 #412294
triadic
#223C94 #94223C #3C9422
tetradic
#223C94 #942275 #947A22 #229441
square
#223C94 #942275 #947A22 #229441
split-complementary
#223C94 #944122 #759422
monochromatic
#0B1430 #172862 #223C94 #2D50C6 #5875D9
Accessibility & contrast
On white
9.80
#223C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#223C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223C94
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223C94 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #223c94; /* rgb */ color: rgb(34, 60, 148); /* oklch */ color: oklch(39.4% 0.148 266.8);
Tailwind
colors: {
custom: {
50: '#6f71b4',
500: '#223c94',
950: '#000000',
},
}SCSS
$custom: #223c94; $custom-light: #6f71b4; $custom-dark: #000000;
JSON
{
"hex": "#223c94",
"rgb": {
"r": 34,
"g": 60,
"b": 148
},
"hsl": {
"h": 226.316,
"s": 62.637,
"l": 35.686
},
"oklch": {
"l": 0.3937,
"c": 0.14815,
"h": 266.8
},
"luminance": 0.0571
}Semantic roles & 50–950 ramp
primary
#223C94
secondary
#BDA555
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80