#272B71#272B71
#272B71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.119 H 275.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #272B71 |
|---|---|
| RGB | rgb(39, 43, 113) |
| HSL | hsl(237, 49%, 30%) |
| HSV | hsv(237, 65%, 44%) |
| CMYK | cmyk(65.5%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(21.40, 22.07, -41.10) |
| CIE-LCH | lch(21.40, 46.65, 298.23°) |
| OKLab | oklab(33.12% 0.0111 -0.1182) |
| OKLCH | oklch(33.12% 0.119 275.3) |
| XYZ | xyz(4.6802, 3.3510, 16.0197) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Marine
#042E60
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 7.28
Navy Blue
#1B2A4A
ΔE00 8.22
Royal
#0C1793
ΔE00 8.26
Blueberry
#464196
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272B71 #716D27
analogous
#275071 #272B71 #482771
triadic
#272B71 #71272B #2B7127
tetradic
#272B71 #712750 #716D27 #277148
square
#272B71 #712750 #716D27 #277148
split-complementary
#272B71 #714827 #507127
monochromatic
#080917 #171A44 #272B71 #373C9E #5056C3
Accessibility & contrast
On white
12.57
#272B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#272B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272B71
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272B71 | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #272b71; /* rgb */ color: rgb(39, 43, 113); /* oklch */ color: oklch(33.1% 0.119 275.3);
Tailwind
colors: {
custom: {
50: '#6a649a',
500: '#272b71',
950: '#000000',
},
}SCSS
$custom: #272b71; $custom-light: #6a649a; $custom-dark: #000000;
JSON
{
"hex": "#272b71",
"rgb": {
"r": 39,
"g": 43,
"b": 113
},
"hsl": {
"h": 236.757,
"s": 48.684,
"l": 29.804
},
"oklch": {
"l": 0.33122,
"c": 0.11875,
"h": 275.3
},
"luminance": 0.03351
}Semantic roles & 50–950 ramp
primary
#272B71
secondary
#A39F50
accent
#D150D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E