#272F88#272F88
#272F88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.146 H 272.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #272F88 |
|---|---|
| RGB | rgb(39, 47, 136) |
| HSL | hsl(235, 55%, 34%) |
| HSV | hsv(235, 71%, 53%) |
| CMYK | cmyk(71.3%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.45, 27.94, -50.69) |
| CIE-LCH | lch(24.45, 57.87, 298.86°) |
| OKLab | oklab(36% 0.0066 -0.1463) |
| OKLCH | oklch(36% 0.146 272.6) |
| XYZ | xyz(6.2957, 4.2413, 23.7747) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.45
Darkslateblue
#483D8B
ΔE00 6.04
Blueberry
#464196
ΔE00 6.31
Midnight Blue
#191970
ΔE00 6.51
Royal
#0C1793
ΔE00 6.55
Marine
#042E60
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F88 #888027
analogous
#276088 #272F88 #502788
triadic
#272F88 #88272F #2F8827
tetradic
#272F88 #882760 #888027 #278850
square
#272F88 #882760 #888027 #278850
split-complementary
#272F88 #885027 #608827
monochromatic
#0C0E29 #191F58 #272F88 #353FB8 #5A63D0
Accessibility & contrast
On white
11.36
#272F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#272F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F88
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F88 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #272f88; /* rgb */ color: rgb(39, 47, 136); /* oklch */ color: oklch(36.0% 0.146 272.6);
Tailwind
colors: {
custom: {
50: '#6f67ac',
500: '#272f88',
950: '#000000',
},
}SCSS
$custom: #272f88; $custom-light: #6f67ac; $custom-dark: #000000;
JSON
{
"hex": "#272f88",
"rgb": {
"r": 39,
"g": 47,
"b": 136
},
"hsl": {
"h": 235.052,
"s": 55.429,
"l": 34.314
},
"oklch": {
"l": 0.35998,
"c": 0.14648,
"h": 272.6
},
"luminance": 0.04242
}Semantic roles & 50–950 ramp
primary
#272F88
secondary
#B5AD56
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F