#27299F#27299F
#27299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.184 H 272.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #27299F |
|---|---|
| RGB | rgb(39, 41, 159) |
| HSL | hsl(239, 61%, 39%) |
| HSV | hsv(239, 75%, 62%) |
| CMYK | cmyk(75.5%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.32, 39.97, -63.44) |
| CIE-LCH | lch(25.32, 74.98, 302.21°) |
| OKLab | oklab(37.31% 0.0076 -0.1836) |
| OKLCH | oklch(37.31% 0.184 272.4) |
| XYZ | xyz(7.8855, 4.5196, 33.2509) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 5.67
Royal Blue (survey)
#0504AA
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#27299F #9F9D27
analogous
#27659F #27299F #61279F
triadic
#27299F #9F2729 #299F27
tetradic
#27299F #9F2765 #9F9D27 #279F61
square
#27299F #9F2765 #9F9D27 #279F61
split-complementary
#27299F #9F6127 #659F27
monochromatic
#0F103D #1B1C6E #27299F #3638CE #6769DA
Accessibility & contrast
On white
11.03
#27299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#27299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #27299F
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##27299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##27299F | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #27299f; /* rgb */ color: rgb(39, 41, 159); /* oklch */ color: oklch(37.3% 0.184 272.4);
Tailwind
colors: {
custom: {
50: '#7564bd',
500: '#27299f',
950: '#000000',
},
}SCSS
$custom: #27299f; $custom-light: #7564bd; $custom-dark: #000000;
JSON
{
"hex": "#27299f",
"rgb": {
"r": 39,
"g": 41,
"b": 159
},
"hsl": {
"h": 239,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.37309,
"c": 0.18376,
"h": 272.4
},
"luminance": 0.0452
}Semantic roles & 50–950 ramp
primary
#27299F
secondary
#C0BE62
accent
#E144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81