#223A8B#223A8B
#223A8B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.138 H 267.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #223A8B |
|---|---|
| RGB | rgb(34, 58, 139) |
| HSL | hsl(226, 61%, 34%) |
| HSV | hsv(226, 76%, 55%) |
| CMYK | cmyk(75.5%, 58.3%, 0%, 45.5%) |
| CIE-LAB | lab(27.38, 20.91, -47.79) |
| CIE-LCH | lch(27.38, 52.17, 293.63°) |
| OKLab | oklab(38.17% -0.0072 -0.1378) |
| OKLCH | oklch(38.17% 0.138 267) |
| XYZ | xyz(6.8313, 5.2295, 25.0705) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.43
Blueberry
#464196
ΔE00 5.76
Cobalt
#0047AB
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223A8B #8B7322
analogous
#226F8B #223A8B #3F228B
triadic
#223A8B #8B223A #3A8B22
tetradic
#223A8B #8B226F #8B7322 #228B3F
square
#223A8B #8B226F #8B7322 #228B3F
split-complementary
#223A8B #8B3F22 #6F8B22
monochromatic
#0A1129 #16255A #223A8B #2E4FBC #5370D5
Accessibility & contrast
On white
10.26
#223A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#223A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223A8B
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223A8B | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #223a8b; /* rgb */ color: rgb(34, 58, 139); /* oklch */ color: oklch(38.2% 0.138 267.0);
Tailwind
colors: {
custom: {
50: '#6d6fae',
500: '#223a8b',
950: '#000000',
},
}SCSS
$custom: #223a8b; $custom-light: #6d6fae; $custom-dark: #000000;
JSON
{
"hex": "#223a8b",
"rgb": {
"r": 34,
"g": 58,
"b": 139
},
"hsl": {
"h": 226.286,
"s": 60.694,
"l": 33.922
},
"oklch": {
"l": 0.38175,
"c": 0.13801,
"h": 267
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#223A8B
secondary
#B8A150
accent
#BF44E4
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F