#272E71#272E71
#272E71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.115 H 274.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #272E71 |
|---|---|
| RGB | rgb(39, 46, 113) |
| HSL | hsl(234, 49%, 30%) |
| HSV | hsv(234, 65%, 44%) |
| CMYK | cmyk(65.5%, 59.3%, 0%, 55.7%) |
| CIE-LAB | lab(22.22, 19.98, -39.77) |
| CIE-LCH | lch(22.22, 44.51, 296.68°) |
| OKLab | oklab(33.73% 0.008 -0.1143) |
| OKLCH | oklch(33.73% 0.115 274) |
| XYZ | xyz(4.7933, 3.5772, 16.0574) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.09
Midnight Blue
#191970
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 7.04
Navy Blue
#1B2A4A
ΔE00 7.81
Marine Blue
#01386A
ΔE00 7.95
Blueberry
#464196
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E71 #716A27
analogous
#275371 #272E71 #452771
triadic
#272E71 #71272E #2E7127
tetradic
#272E71 #712753 #716A27 #277145
square
#272E71 #712753 #716A27 #277145
split-complementary
#272E71 #714527 #537127
monochromatic
#080917 #171B44 #272E71 #37419E #505BC3
Accessibility & contrast
On white
12.24
#272E71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#272E71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E71
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E71 | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272e71; /* rgb */ color: rgb(39, 46, 113); /* oklch */ color: oklch(33.7% 0.115 274.0);
Tailwind
colors: {
custom: {
50: '#6a669a',
500: '#272e71',
950: '#000000',
},
}SCSS
$custom: #272e71; $custom-light: #6a669a; $custom-dark: #000000;
JSON
{
"hex": "#272e71",
"rgb": {
"r": 39,
"g": 46,
"b": 113
},
"hsl": {
"h": 234.324,
"s": 48.684,
"l": 29.804
},
"oklch": {
"l": 0.33734,
"c": 0.11455,
"h": 274
},
"luminance": 0.03578
}Semantic roles & 50–950 ramp
primary
#272E71
secondary
#A39C50
accent
#CB50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E