#272F96#272F96
#272F96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.166 H 271.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #272F96 |
|---|---|
| RGB | rgb(39, 47, 150) |
| HSL | hsl(236, 59%, 37%) |
| HSV | hsv(236, 74%, 59%) |
| CMYK | cmyk(74%, 68.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.76, 33.08, -57.21) |
| CIE-LCH | lch(25.76, 66.09, 300.04°) |
| OKLab | oklab(37.35% 0.0055 -0.1654) |
| OKLCH | oklch(37.35% 0.166 271.9) |
| XYZ | xyz(7.3564, 4.6656, 29.3611) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.92
Midnight Blue
#191970
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F96 #968E27
analogous
#276696 #272F96 #572796
triadic
#272F96 #96272F #2F9627
tetradic
#272F96 #962766 #968E27 #279657
square
#272F96 #962766 #968E27 #279657
split-complementary
#272F96 #965727 #669627
monochromatic
#0E1135 #1A2065 #272F96 #343EC7 #616AD6
Accessibility & contrast
On white
10.86
#272F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#272F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F96
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F96 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #272f96; /* rgb */ color: rgb(39, 47, 150); /* oklch */ color: oklch(37.4% 0.166 271.9);
Tailwind
colors: {
custom: {
50: '#7368b6',
500: '#272f96',
950: '#000000',
},
}SCSS
$custom: #272f96; $custom-light: #7368b6; $custom-dark: #000000;
JSON
{
"hex": "#272f96",
"rgb": {
"r": 39,
"g": 47,
"b": 150
},
"hsl": {
"h": 235.676,
"s": 58.73,
"l": 37.059
},
"oklch": {
"l": 0.37352,
"c": 0.16552,
"h": 271.9
},
"luminance": 0.04666
}Semantic roles & 50–950 ramp
primary
#272F96
secondary
#BCB55D
accent
#D746E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80