#273997#273997
#273997 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.155 H 269.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #273997 |
|---|---|
| RGB | rgb(39, 57, 151) |
| HSL | hsl(230, 59%, 37%) |
| HSV | hsv(230, 74%, 59%) |
| CMYK | cmyk(74.2%, 62.3%, 0%, 40.8%) |
| CIE-LAB | lab(28.36, 26.86, -53.57) |
| CIE-LCH | lch(28.36, 59.93, 296.63°) |
| OKLab | oklab(39.28% -0.0014 -0.1547) |
| OKLCH | oklch(39.28% 0.155 269.5) |
| XYZ | xyz(7.8838, 5.5911, 29.9359) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.95
Blueberry
#464196
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.84
Cobalt
#0047AB
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.41
Blue Blue
#2242C7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273997 #978527
analogous
#277197 #273997 #4D2797
triadic
#273997 #972739 #399727
tetradic
#273997 #972771 #978527 #27974D
square
#273997 #972771 #978527 #27974D
split-complementary
#273997 #974D27 #719727
monochromatic
#0E1436 #1A2766 #273997 #344BC8 #6275D6
Accessibility & contrast
On white
9.91
#273997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#273997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273997
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273997 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #273997; /* rgb */ color: rgb(39, 57, 151); /* oklch */ color: oklch(39.3% 0.155 269.5);
Tailwind
colors: {
custom: {
50: '#726fb6',
500: '#273997',
950: '#000000',
},
}SCSS
$custom: #273997; $custom-light: #726fb6; $custom-dark: #000000;
JSON
{
"hex": "#273997",
"rgb": {
"r": 39,
"g": 57,
"b": 151
},
"hsl": {
"h": 230.357,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.39284,
"c": 0.15471,
"h": 269.5
},
"luminance": 0.05592
}Semantic roles & 50–950 ramp
primary
#273997
secondary
#BCAD5E
accent
#C946E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80