#273798#273798
#273798 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.159 H 270.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #273798 |
|---|---|
| RGB | rgb(39, 55, 152) |
| HSL | hsl(232, 59%, 37%) |
| HSV | hsv(232, 74%, 60%) |
| CMYK | cmyk(74.3%, 63.8%, 0%, 40.4%) |
| CIE-LAB | lab(27.93, 28.58, -54.89) |
| CIE-LCH | lch(27.93, 61.88, 297.50°) |
| OKLab | oklab(38.99% 0 -0.1586) |
| OKLCH | oklch(38.99% 0.159 270) |
| XYZ | xyz(7.8684, 5.4299, 30.3331) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blueberry
#464196
ΔE00 4.95
Darkslateblue
#483D8B
ΔE00 5.88
Cobalt
#0047AB
ΔE00 6.49
Blue Blue
#2242C7
ΔE00 6.92
Cobalt (survey)
#1E488F
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273798 #988827
analogous
#277098 #273798 #4F2798
triadic
#273798 #982737 #379827
tetradic
#273798 #982770 #988827 #27984F
square
#273798 #982770 #988827 #27984F
split-complementary
#273798 #984F27 #709827
monochromatic
#0E1437 #1B2567 #273798 #3349C9 #6373D7
Accessibility & contrast
On white
10.07
#273798 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#273798 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273798
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273798 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #273798; /* rgb */ color: rgb(39, 55, 152); /* oklch */ color: oklch(39.0% 0.159 270.0);
Tailwind
colors: {
custom: {
50: '#726db7',
500: '#273798',
950: '#000000',
},
}SCSS
$custom: #273798; $custom-light: #726db7; $custom-dark: #000000;
JSON
{
"hex": "#273798",
"rgb": {
"r": 39,
"g": 55,
"b": 152
},
"hsl": {
"h": 231.504,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.38993,
"c": 0.15858,
"h": 270
},
"luminance": 0.05431
}Semantic roles & 50–950 ramp
primary
#273798
secondary
#BCAF5E
accent
#CC45E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80