#223FB1#223FB1
#223FB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.184 H 266.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #223FB1 |
|---|---|
| RGB | rgb(34, 63, 177) |
| HSL | hsl(228, 68%, 41%) |
| HSV | hsv(228, 81%, 69%) |
| CMYK | cmyk(80.8%, 64.4%, 0%, 30.6%) |
| CIE-LAB | lab(31.96, 32.19, -63.36) |
| CIE-LCH | lch(31.96, 71.07, 296.93°) |
| OKLab | oklab(42.59% -0.0102 -0.1834) |
| OKLCH | oklch(42.59% 0.184 266.8) |
| XYZ | xyz(10.3702, 7.0682, 42.4042) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.17
Blue Blue
#2242C7
ΔE00 3.05
Cobalt
#0047AB
ΔE00 4.23
Ocean Blue
#4F42B5
ΔE00 5.62
Blue (survey)
#0343DF
ΔE00 5.84
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223FB1 #B19422
analogous
#2287B1 #223FB1 #4D22B1
triadic
#223FB1 #B1223F #3FB122
tetradic
#223FB1 #B12287 #B19422 #22B14D
square
#223FB1 #B12287 #B19422 #22B14D
split-complementary
#223FB1 #B14D22 #87B122
monochromatic
#0E1A4A #182D7E #223FB1 #3858D9 #6B83E3
Accessibility & contrast
On white
8.70
#223FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#223FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223FB1
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223FB1 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #223fb1; /* rgb */ color: rgb(34, 63, 177); /* oklch */ color: oklch(42.6% 0.184 266.8);
Tailwind
colors: {
custom: {
50: '#7673c9',
500: '#223fb1',
950: '#000000',
},
}SCSS
$custom: #223fb1; $custom-light: #7673c9; $custom-dark: #000000;
JSON
{
"hex": "#223fb1",
"rgb": {
"r": 34,
"g": 63,
"b": 177
},
"hsl": {
"h": 227.832,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.42593,
"c": 0.1837,
"h": 266.8
},
"luminance": 0.07069
}Semantic roles & 50–950 ramp
primary
#223FB1
secondary
#C9B566
accent
#C73DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82