#272F87#272F87
#272F87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.145 H 272.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #272F87 |
|---|---|
| RGB | rgb(39, 47, 135) |
| HSL | hsl(235, 55%, 34%) |
| HSV | hsv(235, 71%, 53%) |
| CMYK | cmyk(71.1%, 65.2%, 0%, 47.1%) |
| CIE-LAB | lab(24.36, 27.56, -50.21) |
| CIE-LCH | lch(24.36, 57.28, 298.76°) |
| OKLab | oklab(35.9% 0.0067 -0.1449) |
| OKLCH | oklch(35.9% 0.145 272.6) |
| XYZ | xyz(6.2249, 4.2130, 23.4021) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.59
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 6.35
Midnight Blue
#191970
ΔE00 6.46
Royal
#0C1793
ΔE00 6.63
Marine
#042E60
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F87 #877F27
analogous
#275F87 #272F87 #4F2787
triadic
#272F87 #87272F #2F8727
tetradic
#272F87 #87275F #877F27 #27874F
square
#272F87 #87275F #877F27 #27874F
split-complementary
#272F87 #874F27 #5F8727
monochromatic
#0C0E28 #191E58 #272F87 #3540B6 #5963CF
Accessibility & contrast
On white
11.40
#272F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#272F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F87
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F87 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #272f87; /* rgb */ color: rgb(39, 47, 135); /* oklch */ color: oklch(35.9% 0.145 272.6);
Tailwind
colors: {
custom: {
50: '#6f67ab',
500: '#272f87',
950: '#000000',
},
}SCSS
$custom: #272f87; $custom-light: #6f67ab; $custom-dark: #000000;
JSON
{
"hex": "#272f87",
"rgb": {
"r": 39,
"g": 47,
"b": 135
},
"hsl": {
"h": 235,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.35904,
"c": 0.14508,
"h": 272.6
},
"luminance": 0.04214
}Semantic roles & 50–950 ramp
primary
#272F87
secondary
#B4AC56
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F