#28419C#28419C
#28419C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.151 H 267.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #28419C |
|---|---|
| RGB | rgb(40, 65, 156) |
| HSL | hsl(227, 59%, 38%) |
| HSV | hsv(227, 74%, 61%) |
| CMYK | cmyk(74.4%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(30.95, 23.51, -52.39) |
| CIE-LCH | lch(30.95, 57.42, 294.17°) |
| OKLab | oklab(41.36% -0.0064 -0.1511) |
| OKLCH | oklch(41.36% 0.151 267.6) |
| XYZ | xyz(8.7640, 6.6311, 32.2641) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 3.83
Cobalt (survey)
#1E488F
ΔE00 4.35
Blueberry
#464196
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.93
Darkish Blue
#014182
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28419C #9C8328
analogous
#287B9C #28419C #49289C
triadic
#28419C #9C2841 #419C28
tetradic
#28419C #9C287B #9C8328 #289C49
square
#28419C #9C287B #9C8328 #289C49
split-complementary
#28419C #9C4928 #7B9C28
monochromatic
#0F183B #1C2D6B #28419C #3656CB #677FD8
Accessibility & contrast
On white
9.03
#28419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#28419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28419C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28419C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #28419c; /* rgb */ color: rgb(40, 65, 156); /* oklch */ color: oklch(41.4% 0.151 267.6);
Tailwind
colors: {
custom: {
50: '#7375ba',
500: '#28419c',
950: '#000000',
},
}SCSS
$custom: #28419c; $custom-light: #7375ba; $custom-dark: #000000;
JSON
{
"hex": "#28419c",
"rgb": {
"r": 40,
"g": 65,
"b": 156
},
"hsl": {
"h": 227.069,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.4136,
"c": 0.15123,
"h": 267.6
},
"luminance": 0.06632
}Semantic roles & 50–950 ramp
primary
#28419C
secondary
#BEAA62
accent
#C145E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81