#273399#273399
#273399 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.165 H 270.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #273399 |
|---|---|
| RGB | rgb(39, 51, 153) |
| HSL | hsl(234, 59%, 38%) |
| HSV | hsv(234, 75%, 60%) |
| CMYK | cmyk(74.5%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(27.01, 31.59, -56.99) |
| CIE-LCH | lch(27.01, 65.16, 299.00°) |
| OKLab | oklab(38.35% 0.0027 -0.1648) |
| OKLCH | oklch(38.35% 0.165 270.9) |
| XYZ | xyz(7.7683, 5.0981, 30.7054) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 6.15
Royal
#0C1793
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.31
Ocean Blue
#4F42B5
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273399 #998D27
analogous
#276C99 #273399 #542799
triadic
#273399 #992733 #339927
tetradic
#273399 #99276C #998D27 #279954
square
#273399 #99276C #998D27 #279954
split-complementary
#273399 #995427 #6C9927
monochromatic
#0E1237 #1B2368 #273399 #3343CA #636FD7
Accessibility & contrast
On white
10.40
#273399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#273399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273399
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273399 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #273399; /* rgb */ color: rgb(39, 51, 153); /* oklch */ color: oklch(38.4% 0.165 270.9);
Tailwind
colors: {
custom: {
50: '#736bb8',
500: '#273399',
950: '#000000',
},
}SCSS
$custom: #273399; $custom-light: #736bb8; $custom-dark: #000000;
JSON
{
"hex": "#273399",
"rgb": {
"r": 39,
"g": 51,
"b": 153
},
"hsl": {
"h": 233.684,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.3835,
"c": 0.1648,
"h": 270.9
},
"luminance": 0.05099
}Semantic roles & 50–950 ramp
primary
#273399
secondary
#BDB35F
accent
#D245E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80