#272F6F#272F6F
#272F6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.110 H 273.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #272F6F |
|---|---|
| RGB | rgb(39, 47, 111) |
| HSL | hsl(233, 48%, 29%) |
| HSV | hsv(233, 65%, 44%) |
| CMYK | cmyk(64.9%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(22.34, 18.53, -38.28) |
| CIE-LCH | lch(22.34, 42.53, 295.82°) |
| OKLab | oklab(33.78% 0.0069 -0.1099) |
| OKLCH | oklch(33.78% 0.11 273.6) |
| XYZ | xyz(4.7215, 3.6117, 15.4842) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.74
Midnight Blue
#191970
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 7.19
Navy Blue
#1B2A4A
ΔE00 7.39
Marine Blue
#01386A
ΔE00 7.60
Blueberry
#464196
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#272F6F #6F6727
analogous
#27536F #272F6F #43276F
triadic
#272F6F #6F272F #2F6F27
tetradic
#272F6F #6F2753 #6F6727 #276F43
square
#272F6F #6F2753 #6F6727 #276F43
split-complementary
#272F6F #6F4327 #536F27
monochromatic
#080A17 #171C42 #272F6F #37429C #4F5CC1
Accessibility & contrast
On white
12.19
#272F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#272F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #272F6F
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##272F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##272F6F | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#013971
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #272f6f; /* rgb */ color: rgb(39, 47, 111); /* oklch */ color: oklch(33.8% 0.110 273.6);
Tailwind
colors: {
custom: {
50: '#696799',
500: '#272f6f',
950: '#000000',
},
}SCSS
$custom: #272f6f; $custom-light: #696799; $custom-dark: #000000;
JSON
{
"hex": "#272f6f",
"rgb": {
"r": 39,
"g": 47,
"b": 111
},
"hsl": {
"h": 233.333,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.33775,
"c": 0.11011,
"h": 273.6
},
"luminance": 0.03612
}Semantic roles & 50–950 ramp
primary
#272F6F
secondary
#A29850
accent
#C950D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E