#273166#273166
#273166 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.093 H 272.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #273166 |
|---|---|
| RGB | rgb(39, 49, 102) |
| HSL | hsl(230, 45%, 28%) |
| HSV | hsv(230, 62%, 40%) |
| CMYK | cmyk(61.8%, 52%, 0%, 60%) |
| CIE-LAB | lab(22.26, 13.71, -32.60) |
| CIE-LCH | lch(22.26, 35.37, 292.81°) |
| OKLab | oklab(33.5% 0.0039 -0.0932) |
| OKLCH | oklch(33.5% 0.093 272.4) |
| XYZ | xyz(4.3325, 3.5869, 13.0318) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.96
Navy Blue
#1B2A4A
ΔE00 5.79
Marine Blue
#01386A
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 8.29
Midnight Blue
#191970
ΔE00 8.52
Darkish Blue
#014182
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273166 #665C27
analogous
#275166 #273166 #3C2766
triadic
#273166 #662731 #316627
tetradic
#273166 #662751 #665C27 #27663C
square
#273166 #662751 #665C27 #27663C
split-complementary
#273166 #663C27 #516627
monochromatic
#080B16 #161C3A #273166 #384692 #4D5EBB
Accessibility & contrast
On white
12.23
#273166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#273166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273166
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273166 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#163868
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #273166; /* rgb */ color: rgb(39, 49, 102); /* oklch */ color: oklch(33.5% 0.093 272.4);
Tailwind
colors: {
custom: {
50: '#676892',
500: '#273166',
950: '#000000',
},
}SCSS
$custom: #273166; $custom-light: #676892; $custom-dark: #000000;
JSON
{
"hex": "#273166",
"rgb": {
"r": 39,
"g": 49,
"b": 102
},
"hsl": {
"h": 230.476,
"s": 44.681,
"l": 27.647
},
"oklch": {
"l": 0.33496,
"c": 0.09324,
"h": 272.4
},
"luminance": 0.03587
}Semantic roles & 50–950 ramp
primary
#273166
secondary
#998D50
accent
#C053D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E