#27408B#27408B
#27408B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.129 H 266.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #27408B |
|---|---|
| RGB | rgb(39, 64, 139) |
| HSL | hsl(225, 56%, 35%) |
| HSV | hsv(225, 72%, 55%) |
| CMYK | cmyk(71.9%, 54%, 0%, 45.5%) |
| CIE-LAB | lab(29.32, 17.49, -44.64) |
| CIE-LCH | lch(29.32, 47.94, 291.39°) |
| OKLab | oklab(39.7% -0.0076 -0.1283) |
| OKLCH | oklch(39.7% 0.129 266.6) |
| XYZ | xyz(7.3287, 5.9615, 25.1855) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.51
Darkish Blue
#014182
ΔE00 4.50
Cobalt
#0047AB
ΔE00 5.15
Twilight Blue
#0A437A
ΔE00 5.48
Blueberry
#464196
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27408B #8B7227
analogous
#27728B #27408B #40278B
triadic
#27408B #8B2740 #408B27
tetradic
#27408B #8B2772 #8B7227 #278B40
square
#27408B #8B2772 #8B7227 #278B40
split-complementary
#27408B #8B4027 #728B27
monochromatic
#0C142B #1A2A5B #27408B #3456BB #5B79D1
Accessibility & contrast
On white
9.58
#27408B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#27408B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27408B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27408B | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #27408b; /* rgb */ color: rgb(39, 64, 139); /* oklch */ color: oklch(39.7% 0.129 266.6);
Tailwind
colors: {
custom: {
50: '#6f74ad',
500: '#27408b',
950: '#000000',
},
}SCSS
$custom: #27408b; $custom-light: #6f74ad; $custom-dark: #000000;
JSON
{
"hex": "#27408b",
"rgb": {
"r": 39,
"g": 64,
"b": 139
},
"hsl": {
"h": 225,
"s": 56.18,
"l": 34.902
},
"oklch": {
"l": 0.39701,
"c": 0.12858,
"h": 266.6
},
"luminance": 0.05962
}Semantic roles & 50–950 ramp
primary
#27408B
secondary
#B69F58
accent
#BA48DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F