#273EA1#273EA1
#273EA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.162 H 268.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #273EA1 |
|---|---|
| RGB | rgb(39, 62, 161) |
| HSL | hsl(229, 61%, 39%) |
| HSV | hsv(229, 76%, 63%) |
| CMYK | cmyk(75.8%, 61.5%, 0%, 36.9%) |
| CIE-LAB | lab(30.52, 27.31, -56.12) |
| CIE-LCH | lch(30.52, 62.41, 295.95°) |
| OKLab | oklab(41.15% -0.005 -0.1621) |
| OKLCH | oklch(41.15% 0.162 268.2) |
| XYZ | xyz(8.9901, 6.4488, 34.4822) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.47
Cobalt
#0047AB
ΔE00 4.36
Blueberry
#464196
ΔE00 4.86
Blue Blue
#2242C7
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273EA1 #A18A27
analogous
#277BA1 #273EA1 #4D27A1
triadic
#273EA1 #A1273E #3EA127
tetradic
#273EA1 #A1277B #A18A27 #27A14D
square
#273EA1 #A1277B #A18A27 #27A14D
split-complementary
#273EA1 #A14D27 #7BA127
monochromatic
#0F183E #1B2B70 #273EA1 #3753CE #687EDA
Accessibility & contrast
On white
9.17
#273EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#273EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273EA1
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273EA1 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #273ea1; /* rgb */ color: rgb(39, 62, 161); /* oklch */ color: oklch(41.2% 0.162 268.2);
Tailwind
colors: {
custom: {
50: '#7473be',
500: '#273ea1',
950: '#000000',
},
}SCSS
$custom: #273ea1; $custom-light: #7473be; $custom-dark: #000000;
JSON
{
"hex": "#273ea1",
"rgb": {
"r": 39,
"g": 62,
"b": 161
},
"hsl": {
"h": 228.689,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.41152,
"c": 0.1622,
"h": 268.2
},
"luminance": 0.0645
}Semantic roles & 50–950 ramp
primary
#273EA1
secondary
#C0AF63
accent
#C644E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81