#273899#273899
#273899 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.159 H 269.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #273899 |
|---|---|
| RGB | rgb(39, 56, 153) |
| HSL | hsl(231, 59%, 38%) |
| HSV | hsv(231, 75%, 60%) |
| CMYK | cmyk(74.5%, 63.4%, 0%, 40%) |
| CIE-LAB | lab(28.27, 28.29, -54.93) |
| CIE-LCH | lch(28.27, 61.79, 297.25°) |
| OKLab | oklab(39.27% -0.0007 -0.1587) |
| OKLCH | oklch(39.27% 0.159 269.7) |
| XYZ | xyz(7.9987, 5.5588, 30.7822) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.58
Blueberry
#464196
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.91
Cobalt
#0047AB
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.69
Cobalt (survey)
#1E488F
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273899 #998827
analogous
#277199 #273899 #4F2799
triadic
#273899 #992738 #389927
tetradic
#273899 #992771 #998827 #27994F
square
#273899 #992771 #998827 #27994F
split-complementary
#273899 #994F27 #719927
monochromatic
#0E1437 #1B2668 #273899 #334ACA #6374D7
Accessibility & contrast
On white
9.94
#273899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#273899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273899
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273899 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #273899; /* rgb */ color: rgb(39, 56, 153); /* oklch */ color: oklch(39.3% 0.159 269.7);
Tailwind
colors: {
custom: {
50: '#726eb8',
500: '#273899',
950: '#000000',
},
}SCSS
$custom: #273899; $custom-light: #726eb8; $custom-dark: #000000;
JSON
{
"hex": "#273899",
"rgb": {
"r": 39,
"g": 56,
"b": 153
},
"hsl": {
"h": 231.053,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.39274,
"c": 0.15871,
"h": 269.7
},
"luminance": 0.0556
}Semantic roles & 50–950 ramp
primary
#273899
secondary
#BDAF5F
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80