#27417D#27417D
#27417D is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.107 H 264.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #27417D |
|---|---|
| RGB | rgb(39, 65, 125) |
| HSL | hsl(222, 52%, 32%) |
| HSV | hsv(222, 69%, 49%) |
| CMYK | cmyk(68.8%, 48%, 0%, 51%) |
| CIE-LAB | lab(28.62, 11.37, -37.05) |
| CIE-LCH | lch(28.62, 38.76, 287.06°) |
| OKLab | oklab(38.86% -0.0104 -0.106) |
| OKLCH | oklch(38.86% 0.107 264.4) |
| XYZ | xyz(6.4274, 5.6920, 20.1580) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.61
Darkish Blue
#014182
ΔE00 3.69
Twilight Blue
#0A437A
ΔE00 4.21
Marine Blue
#01386A
ΔE00 5.11
Prussian Blue
#004577
ΔE00 5.82
Cobalt
#0047AB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27417D #7D6327
analogous
#276C7D #27417D #38277D
triadic
#27417D #7D2741 #417D27
tetradic
#27417D #7D276C #7D6327 #277D38
square
#27417D #7D276C #7D6327 #277D38
split-complementary
#27417D #7D3827 #6C7D27
monochromatic
#0A1020 #18294E #27417D #3659AC #5578CA
Accessibility & contrast
On white
9.82
#27417D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#27417D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27417D
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27417D | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#12407C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #27417d; /* rgb */ color: rgb(39, 65, 125); /* oklch */ color: oklch(38.9% 0.107 264.4);
Tailwind
colors: {
custom: {
50: '#6b75a3',
500: '#27417d',
950: '#000000',
},
}SCSS
$custom: #27417d; $custom-light: #6b75a3; $custom-dark: #000000;
JSON
{
"hex": "#27417d",
"rgb": {
"r": 39,
"g": 65,
"b": 125
},
"hsl": {
"h": 221.86,
"s": 52.439,
"l": 32.157
},
"oklch": {
"l": 0.38857,
"c": 0.10652,
"h": 264.4
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#27417D
secondary
#AF9251
accent
#B04CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F