#273397#273397
#273397 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.162 H 271.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #273397 |
|---|---|
| RGB | rgb(39, 51, 151) |
| HSL | hsl(234, 59%, 37%) |
| HSV | hsv(234, 74%, 59%) |
| CMYK | cmyk(74.2%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.83, 30.85, -56.07) |
| CIE-LCH | lch(26.83, 64.00, 298.82°) |
| OKLab | oklab(38.16% 0.0028 -0.1621) |
| OKLCH | oklch(38.16% 0.162 271) |
| XYZ | xyz(7.6045, 5.0326, 29.8428) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.04
Royal
#0C1793
ΔE00 7.03
Blue Blue
#2242C7
ΔE00 7.54
Ocean Blue
#4F42B5
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273397 #978B27
analogous
#276B97 #273397 #532797
triadic
#273397 #972733 #339727
tetradic
#273397 #97276B #978B27 #279753
square
#273397 #97276B #978B27 #279753
split-complementary
#273397 #975327 #6B9727
monochromatic
#0E1236 #1A2366 #273397 #3443C8 #626ED6
Accessibility & contrast
On white
10.47
#273397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#273397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273397
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273397 | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #273397; /* rgb */ color: rgb(39, 51, 151); /* oklch */ color: oklch(38.2% 0.162 271.0);
Tailwind
colors: {
custom: {
50: '#726ab7',
500: '#273397',
950: '#000000',
},
}SCSS
$custom: #273397; $custom-light: #726ab7; $custom-dark: #000000;
JSON
{
"hex": "#273397",
"rgb": {
"r": 39,
"g": 51,
"b": 151
},
"hsl": {
"h": 233.571,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.38158,
"c": 0.16211,
"h": 271
},
"luminance": 0.05033
}Semantic roles & 50–950 ramp
primary
#273397
secondary
#BCB25E
accent
#D146E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80