#273175#273175
#273175 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.116 H 272.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #273175 |
|---|---|
| RGB | rgb(39, 49, 117) |
| HSL | hsl(232, 50%, 31%) |
| HSV | hsv(232, 67%, 46%) |
| CMYK | cmyk(66.7%, 58.1%, 0%, 54.1%) |
| CIE-LAB | lab(23.38, 19.41, -40.45) |
| CIE-LCH | lch(23.38, 44.87, 295.63°) |
| OKLab | oklab(34.7% 0.0051 -0.1162) |
| OKLCH | oklch(34.7% 0.116 272.5) |
| XYZ | xyz(5.1448, 3.9119, 17.3101) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.60
Midnight Blue
#191970
ΔE00 7.12
Marine Blue
#01386A
ΔE00 7.27
Blueberry
#464196
ΔE00 7.43
Navy Blue
#1B2A4A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273175 #756B27
analogous
#275875 #273175 #442775
triadic
#273175 #752731 #317527
tetradic
#273175 #752758 #756B27 #277544
square
#273175 #752758 #756B27 #277544
split-complementary
#273175 #754427 #587527
monochromatic
#080B19 #181E47 #273175 #3644A3 #5160C5
Accessibility & contrast
On white
11.78
#273175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#273175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273175
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273175 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #273175; /* rgb */ color: rgb(39, 49, 117); /* oklch */ color: oklch(34.7% 0.116 272.5);
Tailwind
colors: {
custom: {
50: '#6b689d',
500: '#273175',
950: '#000000',
},
}SCSS
$custom: #273175; $custom-light: #6b689d; $custom-dark: #000000;
JSON
{
"hex": "#273175",
"rgb": {
"r": 39,
"g": 49,
"b": 117
},
"hsl": {
"h": 232.308,
"s": 50,
"l": 30.588
},
"oklch": {
"l": 0.34698,
"c": 0.11636,
"h": 272.5
},
"luminance": 0.03912
}Semantic roles & 50–950 ramp
primary
#273175
secondary
#A79C51
accent
#C84EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E