#27418C#27418C
#27418C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.129 H 266.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #27418C |
|---|---|
| RGB | rgb(39, 65, 140) |
| HSL | hsl(225, 56%, 35%) |
| HSV | hsv(225, 72%, 55%) |
| CMYK | cmyk(72.1%, 53.6%, 0%, 45.1%) |
| CIE-LAB | lab(29.67, 17.19, -44.68) |
| CIE-LCH | lch(29.67, 47.87, 291.05°) |
| OKLab | oklab(40% -0.0084 -0.1284) |
| OKLCH | oklch(40% 0.129 266.2) |
| XYZ | xyz(7.4590, 6.1046, 25.5911) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.19
Darkish Blue
#014182
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.88
Twilight Blue
#0A437A
ΔE00 5.34
Blueberry
#464196
ΔE00 5.80
Sapphire (survey)
#2138AB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27418C #8C7227
analogous
#27748C #27418C #3F278C
triadic
#27418C #8C2741 #418C27
tetradic
#27418C #8C2774 #8C7227 #278C3F
square
#27418C #8C2774 #8C7227 #278C3F
split-complementary
#27418C #8C3F27 #748C27
monochromatic
#0C152C #1A2B5C #27418C #3457BC #5C7AD2
Accessibility & contrast
On white
9.46
#27418C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#27418C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27418C
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27418C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27418C | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #27418c; /* rgb */ color: rgb(39, 65, 140); /* oklch */ color: oklch(40.0% 0.129 266.2);
Tailwind
colors: {
custom: {
50: '#6f75ae',
500: '#27418c',
950: '#000000',
},
}SCSS
$custom: #27418c; $custom-light: #6f75ae; $custom-dark: #000000;
JSON
{
"hex": "#27418c",
"rgb": {
"r": 39,
"g": 65,
"b": 140
},
"hsl": {
"h": 224.554,
"s": 56.425,
"l": 35.098
},
"oklch": {
"l": 0.39997,
"c": 0.12872,
"h": 266.2
},
"luminance": 0.06105
}Semantic roles & 50–950 ramp
primary
#27418C
secondary
#B79E58
accent
#B948E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F