#27417F#27417F
#27417F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.110 H 264.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #27417F |
|---|---|
| RGB | rgb(39, 65, 127) |
| HSL | hsl(222, 53%, 33%) |
| HSV | hsv(222, 69%, 50%) |
| CMYK | cmyk(69.3%, 48.8%, 0%, 50.2%) |
| CIE-LAB | lab(28.76, 12.14, -38.09) |
| CIE-LCH | lch(28.76, 39.98, 287.68°) |
| OKLab | oklab(39% -0.0101 -0.1091) |
| OKLCH | oklch(39% 0.11 264.7) |
| XYZ | xyz(6.5564, 5.7436, 20.8377) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.47
Darkish Blue
#014182
ΔE00 3.71
Twilight Blue
#0A437A
ΔE00 4.32
Marine Blue
#01386A
ΔE00 5.28
Prussian Blue
#004577
ΔE00 5.93
Cobalt
#0047AB
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27417F #7F6527
analogous
#276D7F #27417F #39277F
triadic
#27417F #7F2741 #417F27
tetradic
#27417F #7F276D #7F6527 #277F39
square
#27417F #7F276D #7F6527 #277F39
split-complementary
#27417F #7F3927 #6D7F27
monochromatic
#0A1121 #192950 #27417F #3559AE #5578CB
Accessibility & contrast
On white
9.77
#27417F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#27417F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27417F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27417F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27417F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#0E407E
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #27417f; /* rgb */ color: rgb(39, 65, 127); /* oklch */ color: oklch(39.0% 0.110 264.7);
Tailwind
colors: {
custom: {
50: '#6c75a4',
500: '#27417f',
950: '#000000',
},
}SCSS
$custom: #27417f; $custom-light: #6c75a4; $custom-dark: #000000;
JSON
{
"hex": "#27417f",
"rgb": {
"r": 39,
"g": 65,
"b": 127
},
"hsl": {
"h": 222.273,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.39003,
"c": 0.10953,
"h": 264.7
},
"luminance": 0.05744
}Semantic roles & 50–950 ramp
primary
#27417F
secondary
#B09452
accent
#B24BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F