#272F7B#272F7B
#272F7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.128 H 273.2°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #272F7B |
|---|---|
| RGB | rgb(39, 47, 123) |
| HSL | hsl(234, 52%, 32%) |
| HSV | hsv(234, 68%, 48%) |
| CMYK | cmyk(68.3%, 61.8%, 0%, 51.8%) |
| CIE-LAB | lab(23.32, 23.07, -44.37) |
| CIE-LCH | lch(23.32, 50.00, 297.47°) |
| OKLab | oklab(34.81% 0.0071 -0.1278) |
| OKLCH | oklch(34.81% 0.128 273.2) |
| XYZ | xyz(5.4272, 3.8939, 19.2007) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.30
Marine
#042E60
ΔE00 6.86
Blueberry
#464196
ΔE00 7.06
Sapphire (survey)
#2138AB
ΔE00 7.36
Royal
#0C1793
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F7B #7B7327
analogous
#27597B #272F7B #49277B
triadic
#272F7B #7B272F #2F7B27
tetradic
#272F7B #7B2759 #7B7327 #277B49
square
#272F7B #7B2759 #7B7327 #277B49
split-complementary
#272F7B #7B4927 #597B27
monochromatic
#0A0B1E #181D4D #272F7B #3641A9 #545FC9
Accessibility & contrast
On white
11.81
#272F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#272F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F7B
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F7B | 1.00 | 11.81 | 1.78 | 11.81 |
| #FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #272f7b; /* rgb */ color: rgb(39, 47, 123); /* oklch */ color: oklch(34.8% 0.128 273.2);
Tailwind
colors: {
custom: {
50: '#6c67a2',
500: '#272f7b',
950: '#000000',
},
}SCSS
$custom: #272f7b; $custom-light: #6c67a2; $custom-dark: #000000;
JSON
{
"hex": "#272f7b",
"rgb": {
"r": 39,
"g": 47,
"b": 123
},
"hsl": {
"h": 234.286,
"s": 51.852,
"l": 31.765
},
"oklch": {
"l": 0.34807,
"c": 0.12798,
"h": 273.2
},
"luminance": 0.03894
}Semantic roles & 50–950 ramp
primary
#272F7B
secondary
#ADA451
accent
#CE4CDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F