#223F9A#223F9A
#223F9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.153 H 266.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #223F9A |
|---|---|
| RGB | rgb(34, 63, 154) |
| HSL | hsl(226, 64%, 37%) |
| HSV | hsv(226, 78%, 60%) |
| CMYK | cmyk(77.9%, 59.1%, 0%, 39.6%) |
| CIE-LAB | lab(29.98, 23.36, -52.77) |
| CIE-LCH | lch(29.98, 57.70, 293.88°) |
| OKLab | oklab(40.51% -0.0103 -0.1524) |
| OKLCH | oklch(40.51% 0.153 266.1) |
| XYZ | xyz(8.2679, 6.2273, 31.3318) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Cobalt
#0047AB
ΔE00 3.89
Cobalt (survey)
#1E488F
ΔE00 4.34
Blueberry
#464196
ΔE00 5.43
Darkish Blue
#014182
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F9A #9A7D22
analogous
#227B9A #223F9A #41229A
triadic
#223F9A #9A223F #3F9A22
tetradic
#223F9A #9A227B #9A7D22 #229A41
square
#223F9A #9A227B #9A7D22 #229A41
split-complementary
#223F9A #9A4122 #7B9A22
monochromatic
#0C1636 #172A68 #223F9A #2D54CC #5B7ADB
Accessibility & contrast
On white
9.35
#223F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#223F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F9A
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F9A | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #223f9a; /* rgb */ color: rgb(34, 63, 154); /* oklch */ color: oklch(40.5% 0.153 266.1);
Tailwind
colors: {
custom: {
50: '#7073b9',
500: '#223f9a',
950: '#000000',
},
}SCSS
$custom: #223f9a; $custom-light: #7073b9; $custom-dark: #000000;
JSON
{
"hex": "#223f9a",
"rgb": {
"r": 34,
"g": 63,
"b": 154
},
"hsl": {
"h": 225.5,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.40506,
"c": 0.15271,
"h": 266.1
},
"luminance": 0.06228
}Semantic roles & 50–950 ramp
primary
#223F9A
secondary
#BFA658
accent
#BF41E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80