#272E8A#272E8A
#272E8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.150 H 272.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #272E8A |
|---|---|
| RGB | rgb(39, 46, 138) |
| HSL | hsl(236, 56%, 35%) |
| HSV | hsv(236, 72%, 54%) |
| CMYK | cmyk(71.7%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(24.38, 29.34, -52.05) |
| CIE-LCH | lch(24.38, 59.74, 299.41°) |
| OKLab | oklab(36% 0.0073 -0.1503) |
| OKLCH | oklch(36% 0.15 272.8) |
| XYZ | xyz(6.3996, 4.2197, 24.5170) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.30
Royal
#0C1793
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.19
Midnight Blue
#191970
ΔE00 6.39
Blueberry
#464196
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E8A #8A8327
analogous
#275F8A #272E8A #52278A
triadic
#272E8A #8A272E #2E8A27
tetradic
#272E8A #8A275F #8A8327 #278A52
square
#272E8A #8A275F #8A8327 #278A52
split-complementary
#272E8A #8A5227 #5F8A27
monochromatic
#0C0E2B #1A1E5A #272E8A #343EBA #5B63D1
Accessibility & contrast
On white
11.39
#272E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#272E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E8A
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E8A | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #272e8a; /* rgb */ color: rgb(39, 46, 138); /* oklch */ color: oklch(36.0% 0.150 272.8);
Tailwind
colors: {
custom: {
50: '#7067ad',
500: '#272e8a',
950: '#000000',
},
}SCSS
$custom: #272e8a; $custom-light: #7067ad; $custom-dark: #000000;
JSON
{
"hex": "#272e8a",
"rgb": {
"r": 39,
"g": 46,
"b": 138
},
"hsl": {
"h": 235.758,
"s": 55.932,
"l": 34.706
},
"oklch": {
"l": 0.36004,
"c": 0.15049,
"h": 272.8
},
"luminance": 0.0422
}Semantic roles & 50–950 ramp
primary
#272E8A
secondary
#B6AF57
accent
#D549DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F