#272C7B#272C7B
#272C7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.132 H 274.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #272C7B |
|---|---|
| RGB | rgb(39, 44, 123) |
| HSL | hsl(236, 52%, 32%) |
| HSV | hsv(236, 68%, 48%) |
| CMYK | cmyk(68.3%, 64.2%, 0%, 51.8%) |
| CIE-LAB | lab(22.52, 25.11, -45.66) |
| CIE-LCH | lch(22.52, 52.11, 298.81°) |
| OKLab | oklab(34.22% 0.0098 -0.1316) |
| OKLCH | oklch(34.22% 0.132 274.3) |
| XYZ | xyz(5.3113, 3.6623, 19.1620) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.61
Royal
#0C1793
ΔE00 7.06
Marine
#042E60
ΔE00 7.44
Blueberry
#464196
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C7B #7B7627
analogous
#27567B #272C7B #4C277B
triadic
#272C7B #7B272C #2C7B27
tetradic
#272C7B #7B2756 #7B7627 #277B4C
square
#272C7B #7B2756 #7B7627 #277B4C
split-complementary
#272C7B #7B4C27 #567B27
monochromatic
#0A0B1E #181B4D #272C7B #363DA9 #545BC9
Accessibility & contrast
On white
12.12
#272C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#272C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C7B
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C7B | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #272c7b; /* rgb */ color: rgb(39, 44, 123); /* oklch */ color: oklch(34.2% 0.132 274.3);
Tailwind
colors: {
custom: {
50: '#6c65a2',
500: '#272c7b',
950: '#000000',
},
}SCSS
$custom: #272c7b; $custom-light: #6c65a2; $custom-dark: #000000;
JSON
{
"hex": "#272c7b",
"rgb": {
"r": 39,
"g": 44,
"b": 123
},
"hsl": {
"h": 236.429,
"s": 51.852,
"l": 31.765
},
"oklch": {
"l": 0.3422,
"c": 0.13198,
"h": 274.3
},
"luminance": 0.03663
}Semantic roles & 50–950 ramp
primary
#272C7B
secondary
#ADA751
accent
#D34CDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F