#223E9C#223E9C
#223E9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.157 H 266.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #223E9C |
|---|---|
| RGB | rgb(34, 62, 156) |
| HSL | hsl(226, 64%, 37%) |
| HSV | hsv(226, 78%, 61%) |
| CMYK | cmyk(78.2%, 60.3%, 0%, 38.8%) |
| CIE-LAB | lab(29.87, 24.82, -54.15) |
| CIE-LCH | lch(29.87, 59.57, 294.62°) |
| OKLab | oklab(40.48% -0.0095 -0.1564) |
| OKLCH | oklch(40.48% 0.157 266.5) |
| XYZ | xyz(8.3810, 6.1847, 32.1981) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.24
Cobalt
#0047AB
ΔE00 4.08
Cobalt (survey)
#1E488F
ΔE00 4.84
Blueberry
#464196
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 6.01
Darkish Blue
#014182
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223E9C #9C8022
analogous
#227B9C #223E9C #43229C
triadic
#223E9C #9C223E #3E9C22
tetradic
#223E9C #9C227B #9C8022 #229C43
square
#223E9C #9C227B #9C8022 #229C43
split-complementary
#223E9C #9C4322 #7B9C22
monochromatic
#0C1638 #172A6A #223E9C #2D52CE #5D7ADC
Accessibility & contrast
On white
9.39
#223E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#223E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223E9C
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223E9C | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223e9c; /* rgb */ color: rgb(34, 62, 156); /* oklch */ color: oklch(40.5% 0.157 266.5);
Tailwind
colors: {
custom: {
50: '#7172ba',
500: '#223e9c',
950: '#000000',
},
}SCSS
$custom: #223e9c; $custom-light: #7172ba; $custom-dark: #000000;
JSON
{
"hex": "#223e9c",
"rgb": {
"r": 34,
"g": 62,
"b": 156
},
"hsl": {
"h": 226.23,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.4048,
"c": 0.15674,
"h": 266.5
},
"luminance": 0.06186
}Semantic roles & 50–950 ramp
primary
#223E9C
secondary
#C0A95A
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81