#273398#273398
#273398 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.163 H 271.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #273398 |
|---|---|
| RGB | rgb(39, 51, 152) |
| HSL | hsl(234, 59%, 37%) |
| HSV | hsv(234, 74%, 60%) |
| CMYK | cmyk(74.3%, 66.4%, 0%, 40.4%) |
| CIE-LAB | lab(26.92, 31.22, -56.53) |
| CIE-LCH | lch(26.92, 64.58, 298.91°) |
| OKLab | oklab(38.25% 0.0027 -0.1634) |
| OKLCH | oklch(38.25% 0.163 271) |
| XYZ | xyz(7.6861, 5.0652, 30.2723) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Blueberry
#464196
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 6.09
Royal
#0C1793
ΔE00 7.01
Blue Blue
#2242C7
ΔE00 7.42
Ocean Blue
#4F42B5
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273398 #988C27
analogous
#276C98 #273398 #532798
triadic
#273398 #982733 #339827
tetradic
#273398 #98276C #988C27 #279853
square
#273398 #98276C #988C27 #279853
split-complementary
#273398 #985327 #6C9827
monochromatic
#0E1237 #1B2367 #273398 #3343C9 #636FD7
Accessibility & contrast
On white
10.43
#273398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#273398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273398
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273398 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #273398; /* rgb */ color: rgb(39, 51, 152); /* oklch */ color: oklch(38.3% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#736bb7',
500: '#273398',
950: '#000000',
},
}SCSS
$custom: #273398; $custom-light: #736bb7; $custom-dark: #000000;
JSON
{
"hex": "#273398",
"rgb": {
"r": 39,
"g": 51,
"b": 152
},
"hsl": {
"h": 233.628,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.38254,
"c": 0.16346,
"h": 271
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#273398
secondary
#BCB25E
accent
#D245E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80