#272E79#272E79
#272E79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.126 H 273.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #272E79 |
|---|---|
| RGB | rgb(39, 46, 121) |
| HSL | hsl(235, 51%, 31%) |
| HSV | hsv(235, 68%, 47%) |
| CMYK | cmyk(67.8%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(22.88, 23.00, -43.81) |
| CIE-LCH | lch(22.88, 49.48, 297.70°) |
| OKLab | oklab(34.43% 0.0081 -0.1262) |
| OKLCH | oklch(34.43% 0.126 273.7) |
| XYZ | xyz(5.2637, 3.7653, 18.5348) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.49
Marine
#042E60
ΔE00 6.84
Blueberry
#464196
ΔE00 7.35
Sapphire (survey)
#2138AB
ΔE00 7.73
Royal
#0C1793
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272E79 #797227
analogous
#275779 #272E79 #492779
triadic
#272E79 #79272E #2E7927
tetradic
#272E79 #792757 #797227 #277949
square
#272E79 #792757 #797227 #277949
split-complementary
#272E79 #794927 #577927
monochromatic
#090B1C #181C4B #272E79 #3640A7 #535DC8
Accessibility & contrast
On white
11.98
#272E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#272E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272E79
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272E79 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #272e79; /* rgb */ color: rgb(39, 46, 121); /* oklch */ color: oklch(34.4% 0.126 273.7);
Tailwind
colors: {
custom: {
50: '#6c66a0',
500: '#272e79',
950: '#000000',
},
}SCSS
$custom: #272e79; $custom-light: #6c66a0; $custom-dark: #000000;
JSON
{
"hex": "#272e79",
"rgb": {
"r": 39,
"g": 46,
"b": 121
},
"hsl": {
"h": 234.878,
"s": 51.25,
"l": 31.373
},
"oklch": {
"l": 0.3443,
"c": 0.12641,
"h": 273.7
},
"luminance": 0.03766
}Semantic roles & 50–950 ramp
primary
#272E79
secondary
#ABA351
accent
#CF4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E