#272A86#272A86
#272A86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.150 H 274.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #272A86 |
|---|---|
| RGB | rgb(39, 42, 134) |
| HSL | hsl(238, 55%, 34%) |
| HSV | hsv(238, 71%, 53%) |
| CMYK | cmyk(70.9%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.03, 30.50, -51.77) |
| CIE-LCH | lch(23.03, 60.09, 300.50°) |
| OKLab | oklab(34.9% 0.0106 -0.1495) |
| OKLCH | oklch(34.9% 0.15 274) |
| XYZ | xyz(5.9663, 3.8079, 22.9702) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Royal
#0C1793
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.77
Blueberry
#464196
ΔE00 7.32
Cobalt Blue
#030AA7
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272A86 #868327
analogous
#275A86 #272A86 #542786
triadic
#272A86 #86272A #2A8627
tetradic
#272A86 #86275A #868327 #278654
square
#272A86 #86275A #868327 #278654
split-complementary
#272A86 #865427 #5A8627
monochromatic
#0B0C27 #191B57 #272A86 #3539B5 #595DCF
Accessibility & contrast
On white
11.92
#272A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#272A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272A86
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272A86 | 1.00 | 11.92 | 1.76 | 11.92 |
| #FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #272a86; /* rgb */ color: rgb(39, 42, 134); /* oklch */ color: oklch(34.9% 0.150 274.0);
Tailwind
colors: {
custom: {
50: '#6f64aa',
500: '#272a86',
950: '#000000',
},
}SCSS
$custom: #272a86; $custom-light: #6f64aa; $custom-dark: #000000;
JSON
{
"hex": "#272a86",
"rgb": {
"r": 39,
"g": 42,
"b": 134
},
"hsl": {
"h": 238.105,
"s": 54.913,
"l": 33.922
},
"oklch": {
"l": 0.34899,
"c": 0.14991,
"h": 274
},
"luminance": 0.03808
}Semantic roles & 50–950 ramp
primary
#272A86
secondary
#B4B155
accent
#DA4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F