#272B79#272B79
#272B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.130 H 274.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #272B79 |
|---|---|
| RGB | rgb(39, 43, 121) |
| HSL | hsl(237, 51%, 31%) |
| HSV | hsv(237, 68%, 47%) |
| CMYK | cmyk(67.8%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(22.09, 25.05, -45.10) |
| CIE-LCH | lch(22.09, 51.59, 299.05°) |
| OKLab | oklab(33.84% 0.0108 -0.13) |
| OKLCH | oklch(33.84% 0.13 274.7) |
| XYZ | xyz(5.1506, 3.5391, 18.4971) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Darkslateblue
#483D8B
ΔE00 6.82
Royal
#0C1793
ΔE00 7.07
Marine
#042E60
ΔE00 7.45
Blueberry
#464196
ΔE00 7.79
Sapphire (survey)
#2138AB
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B79 #797527
analogous
#275479 #272B79 #4C2779
triadic
#272B79 #79272B #2B7927
tetradic
#272B79 #792754 #797527 #27794C
square
#272B79 #792754 #797527 #27794C
split-complementary
#272B79 #794C27 #547927
monochromatic
#090A1C #181B4B #272B79 #363BA7 #5359C8
Accessibility & contrast
On white
12.30
#272B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#272B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B79
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B79 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272b79; /* rgb */ color: rgb(39, 43, 121); /* oklch */ color: oklch(33.8% 0.130 274.7);
Tailwind
colors: {
custom: {
50: '#6c64a0',
500: '#272b79',
950: '#000000',
},
}SCSS
$custom: #272b79; $custom-light: #6c64a0; $custom-dark: #000000;
JSON
{
"hex": "#272b79",
"rgb": {
"r": 39,
"g": 43,
"b": 121
},
"hsl": {
"h": 237.073,
"s": 51.25,
"l": 31.373
},
"oklch": {
"l": 0.33844,
"c": 0.13043,
"h": 274.7
},
"luminance": 0.0354
}Semantic roles & 50–950 ramp
primary
#272B79
secondary
#ABA751
accent
#D44DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E