#272E97#272E97
#272E97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.168 H 272.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #272E97 |
|---|---|
| RGB | rgb(39, 46, 151) |
| HSL | hsl(236, 59%, 37%) |
| HSV | hsv(236, 74%, 59%) |
| CMYK | cmyk(74.2%, 69.5%, 0%, 40.8%) |
| CIE-LAB | lab(25.62, 34.08, -58.05) |
| CIE-LCH | lch(25.62, 67.32, 300.42°) |
| OKLab | oklab(37.28% 0.006 -0.1679) |
| OKLCH | oklch(37.28% 0.168 272) |
| XYZ | xyz(7.3977, 4.6189, 29.7738) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Royal
#0C1793
ΔE00 5.60
Blueberry
#464196
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E97 #979027
analogous
#276697 #272E97 #582797
triadic
#272E97 #97272E #2E9727
tetradic
#272E97 #972766 #979027 #279758
square
#272E97 #972766 #979027 #279758
split-complementary
#272E97 #975827 #669727
monochromatic
#0E1036 #1A1F66 #272E97 #343DC8 #6269D6
Accessibility & contrast
On white
10.91
#272E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#272E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E97
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E97 | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #272e97; /* rgb */ color: rgb(39, 46, 151); /* oklch */ color: oklch(37.3% 0.168 272.0);
Tailwind
colors: {
custom: {
50: '#7367b7',
500: '#272e97',
950: '#000000',
},
}SCSS
$custom: #272e97; $custom-light: #7367b7; $custom-dark: #000000;
JSON
{
"hex": "#272e97",
"rgb": {
"r": 39,
"g": 46,
"b": 151
},
"hsl": {
"h": 236.25,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.3728,
"c": 0.16801,
"h": 272
},
"luminance": 0.0462
}Semantic roles & 50–950 ramp
primary
#272E97
secondary
#BCB65E
accent
#D846E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80