#223F98#223F98
#223F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.150 H 266.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #223F98 |
|---|---|
| RGB | rgb(34, 63, 152) |
| HSL | hsl(225, 63%, 36%) |
| HSV | hsv(225, 78%, 60%) |
| CMYK | cmyk(77.6%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.82, 22.58, -51.81) |
| CIE-LCH | lch(29.82, 56.52, 293.54°) |
| OKLab | oklab(40.33% -0.0104 -0.1496) |
| OKLCH | oklch(40.33% 0.15 266) |
| XYZ | xyz(8.1027, 6.1612, 30.4619) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.17
Darkish Blue
#014182
ΔE00 5.42
Blueberry
#464196
ΔE00 5.48
Twilight Blue
#0A437A
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#223F98 #987B22
analogous
#227A98 #223F98 #402298
triadic
#223F98 #98223F #3F9822
tetradic
#223F98 #98227A #987B22 #229840
square
#223F98 #98227A #987B22 #229840
split-complementary
#223F98 #984022 #7A9822
monochromatic
#0C1634 #172A66 #223F98 #2D54CA #5A7ADA
Accessibility & contrast
On white
9.41
#223F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#223F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #223F98
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##223F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##223F98 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #223f98; /* rgb */ color: rgb(34, 63, 152); /* oklch */ color: oklch(40.3% 0.150 266.0);
Tailwind
colors: {
custom: {
50: '#7073b7',
500: '#223f98',
950: '#000000',
},
}SCSS
$custom: #223f98; $custom-light: #7073b7; $custom-dark: #000000;
JSON
{
"hex": "#223f98",
"rgb": {
"r": 34,
"g": 63,
"b": 152
},
"hsl": {
"h": 225.254,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.40333,
"c": 0.14992,
"h": 266
},
"luminance": 0.06162
}Semantic roles & 50–950 ramp
primary
#223F98
secondary
#BEA557
accent
#BE41E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80