#27299E#27299E
#27299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 272.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #27299E |
|---|---|
| RGB | rgb(39, 41, 158) |
| HSL | hsl(239, 60%, 39%) |
| HSV | hsv(239, 75%, 62%) |
| CMYK | cmyk(75.3%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(25.21, 39.63, -63.01) |
| CIE-LCH | lch(25.21, 74.43, 302.17°) |
| OKLab | oklab(37.2% 0.0078 -0.1823) |
| OKLCH | oklch(37.2% 0.182 272.4) |
| XYZ | xyz(7.7991, 4.4850, 32.7958) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.50
Sapphire (survey)
#2138AB
ΔE00 4.50
Indigo Blue
#3A18B1
ΔE00 4.83
Cobalt Blue
#030AA7
ΔE00 5.70
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27299E #9E9C27
analogous
#27649E #27299E #60279E
triadic
#27299E #9E2729 #299E27
tetradic
#27299E #9E2764 #9E9C27 #279E60
square
#27299E #9E2764 #9E9C27 #279E60
split-complementary
#27299E #9E6027 #649E27
monochromatic
#0F103C #1B1C6D #27299E #3538CD #6668D9
Accessibility & contrast
On white
11.07
#27299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#27299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27299E
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27299E | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #27299e; /* rgb */ color: rgb(39, 41, 158); /* oklch */ color: oklch(37.2% 0.182 272.4);
Tailwind
colors: {
custom: {
50: '#7564bc',
500: '#27299e',
950: '#000000',
},
}SCSS
$custom: #27299e; $custom-light: #7564bc; $custom-dark: #000000;
JSON
{
"hex": "#27299e",
"rgb": {
"r": 39,
"g": 41,
"b": 158
},
"hsl": {
"h": 238.992,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.37202,
"c": 0.18249,
"h": 272.4
},
"luminance": 0.04486
}Semantic roles & 50–950 ramp
primary
#27299E
secondary
#BFBE62
accent
#E144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81