#272B72#272B72
#272B72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.120 H 275.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #272B72 |
|---|---|
| RGB | rgb(39, 43, 114) |
| HSL | hsl(237, 49%, 30%) |
| HSV | hsv(237, 66%, 45%) |
| CMYK | cmyk(65.8%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(21.48, 22.44, -41.61) |
| CIE-LCH | lch(21.48, 47.28, 298.34°) |
| OKLab | oklab(33.21% 0.011 -0.1197) |
| OKLCH | oklch(33.21% 0.12 275.3) |
| XYZ | xyz(4.7368, 3.3736, 16.3179) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.25
Marine
#042E60
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 7.21
Royal
#0C1793
ΔE00 8.10
Navy Blue
#1B2A4A
ΔE00 8.36
Blueberry
#464196
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B72 #726E27
analogous
#275172 #272B72 #482772
triadic
#272B72 #72272B #2B7227
tetradic
#272B72 #722751 #726E27 #277248
square
#272B72 #722751 #726E27 #277248
split-complementary
#272B72 #724827 #517227
monochromatic
#080917 #171A44 #272B72 #373CA0 #5056C3
Accessibility & contrast
On white
12.54
#272B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#272B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B72
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B72 | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #272b72; /* rgb */ color: rgb(39, 43, 114); /* oklch */ color: oklch(33.2% 0.120 275.3);
Tailwind
colors: {
custom: {
50: '#6a649b',
500: '#272b72',
950: '#000000',
},
}SCSS
$custom: #272b72; $custom-light: #6a649b; $custom-dark: #000000;
JSON
{
"hex": "#272b72",
"rgb": {
"r": 39,
"g": 43,
"b": 114
},
"hsl": {
"h": 236.8,
"s": 49.02,
"l": 30
},
"oklch": {
"l": 0.3321,
"c": 0.12023,
"h": 275.3
},
"luminance": 0.03374
}Semantic roles & 50–950 ramp
primary
#272B72
secondary
#A4A050
accent
#D14FD9
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E