#27237F#27237F
#27237F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.149 H 276.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #27237F |
|---|---|
| RGB | rgb(39, 35, 127) |
| HSL | hsl(243, 57%, 32%) |
| HSV | hsv(243, 72%, 50%) |
| CMYK | cmyk(69.3%, 72.4%, 0%, 50.2%) |
| CIE-LAB | lab(20.69, 32.46, -51.19) |
| CIE-LCH | lch(20.69, 60.62, 302.38°) |
| OKLab | oklab(33.01% 0.0166 -0.1478) |
| OKLCH | oklch(33.01% 0.149 276.4) |
| XYZ | xyz(5.2672, 3.1652, 20.4079) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 6.66
Dark Royal Blue
#02066F
ΔE00 6.82
Darkblue
#00008B
ΔE00 7.02
Navy
#000080
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27237F #7B7F23
analogous
#234D7F #27237F #55237F
triadic
#27237F #7F2723 #237F27
tetradic
#27237F #7F234D #7B7F23 #237F55
square
#27237F #7F234D #7B7F23 #237F55
split-complementary
#27237F #7F5523 #4D7F23
monochromatic
#0A091F #18164F #27237F #3630AF #544ECE
Accessibility & contrast
On white
12.86
#27237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#27237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27237F
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27237F | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #27237f; /* rgb */ color: rgb(39, 35, 127); /* oklch */ color: oklch(33.0% 0.149 276.4);
Tailwind
colors: {
custom: {
50: '#6e5fa5',
500: '#27237f',
950: '#000000',
},
}SCSS
$custom: #27237f; $custom-light: #6e5fa5; $custom-dark: #000000;
JSON
{
"hex": "#27237f",
"rgb": {
"r": 39,
"g": 35,
"b": 127
},
"hsl": {
"h": 242.609,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.33007,
"c": 0.14877,
"h": 276.4
},
"luminance": 0.03166
}Semantic roles & 50–950 ramp
primary
#27237F
secondary
#ADB14C
accent
#E048D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F