#27428E#27428E
#27428E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.130 H 266.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #27428E |
|---|---|
| RGB | rgb(39, 66, 142) |
| HSL | hsl(224, 57%, 35%) |
| HSV | hsv(224, 73%, 56%) |
| CMYK | cmyk(72.5%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(30.11, 17.28, -45.21) |
| CIE-LCH | lch(30.11, 48.40, 290.92°) |
| OKLab | oklab(40.37% -0.0091 -0.13) |
| OKLCH | oklch(40.37% 0.13 266) |
| XYZ | xyz(7.6657, 6.2800, 26.3941) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Darkish Blue
#014182
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.53
Twilight Blue
#0A437A
ΔE00 5.33
Blueberry
#464196
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27428E #8E7327
analogous
#27758E #27428E #3F278E
triadic
#27428E #8E2742 #428E27
tetradic
#27428E #8E2775 #8E7327 #278E3F
square
#27428E #8E2775 #8E7327 #278E3F
split-complementary
#27428E #8E3F27 #758E27
monochromatic
#0D152E #1A2C5E #27428E #3458BE #5D7CD2
Accessibility & contrast
On white
9.31
#27428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#27428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27428E
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27428E | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #27428e; /* rgb */ color: rgb(39, 66, 142); /* oklch */ color: oklch(40.4% 0.130 266.0);
Tailwind
colors: {
custom: {
50: '#6f75b0',
500: '#27428e',
950: '#000000',
},
}SCSS
$custom: #27428e; $custom-light: #6f75b0; $custom-dark: #000000;
JSON
{
"hex": "#27428e",
"rgb": {
"r": 39,
"g": 66,
"b": 142
},
"hsl": {
"h": 224.272,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.40372,
"c": 0.1303,
"h": 266
},
"luminance": 0.06281
}Semantic roles & 50–950 ramp
primary
#27428E
secondary
#B89F59
accent
#B848E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F