#272C8E#272C8E
#272C8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.158 H 273.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #272C8E |
|---|---|
| RGB | rgb(39, 44, 142) |
| HSL | hsl(237, 57%, 35%) |
| HSV | hsv(237, 73%, 56%) |
| CMYK | cmyk(72.5%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.27, 32.11, -54.71) |
| CIE-LCH | lch(24.27, 63.44, 300.41°) |
| OKLab | oklab(36.04% 0.0083 -0.1581) |
| OKLCH | oklch(36.04% 0.158 273) |
| XYZ | xyz(6.6182, 4.1850, 26.0449) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.12
Royal
#0C1793
ΔE00 5.30
Midnight Blue
#191970
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.58
Blueberry
#464196
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272C8E #8E8927
analogous
#27608E #272C8E #55278E
triadic
#272C8E #8E272C #2C8E27
tetradic
#272C8E #8E2760 #8E8927 #278E55
square
#272C8E #8E2760 #8E8927 #278E55
split-complementary
#272C8E #8E5527 #608E27
monochromatic
#0D0E2E #1A1D5E #272C8E #343BBE #5D63D2
Accessibility & contrast
On white
11.43
#272C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#272C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272C8E
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272C8E | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #272c8e; /* rgb */ color: rgb(39, 44, 142); /* oklch */ color: oklch(36.0% 0.158 273.0);
Tailwind
colors: {
custom: {
50: '#7165b0',
500: '#272c8e',
950: '#000000',
},
}SCSS
$custom: #272c8e; $custom-light: #7165b0; $custom-dark: #000000;
JSON
{
"hex": "#272c8e",
"rgb": {
"r": 39,
"g": 44,
"b": 142
},
"hsl": {
"h": 237.087,
"s": 56.906,
"l": 35.49
},
"oklch": {
"l": 0.36039,
"c": 0.15836,
"h": 273
},
"luminance": 0.04186
}Semantic roles & 50–950 ramp
primary
#272C8E
secondary
#B8B359
accent
#D948E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80