#273FA1#273FA1
#273FA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.161 H 268.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #273FA1 |
|---|---|
| RGB | rgb(39, 63, 161) |
| HSL | hsl(228, 61%, 39%) |
| HSV | hsv(228, 76%, 63%) |
| CMYK | cmyk(75.8%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(30.78, 26.64, -55.69) |
| CIE-LCH | lch(30.78, 61.74, 295.56°) |
| OKLab | oklab(41.35% -0.0057 -0.1608) |
| OKLCH | oklch(41.35% 0.161 268) |
| XYZ | xyz(9.0450, 6.5586, 34.5005) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Cobalt
#0047AB
ΔE00 4.08
Blueberry
#464196
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.19
Cobalt (survey)
#1E488F
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FA1 #A18927
analogous
#277CA1 #273FA1 #4C27A1
triadic
#273FA1 #A1273F #3FA127
tetradic
#273FA1 #A1277C #A18927 #27A14C
square
#273FA1 #A1277C #A18927 #27A14C
split-complementary
#273FA1 #A14C27 #7CA127
monochromatic
#0F183E #1B2C70 #273FA1 #3755CE #687EDA
Accessibility & contrast
On white
9.08
#273FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#273FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FA1
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FA1 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #273fa1; /* rgb */ color: rgb(39, 63, 161); /* oklch */ color: oklch(41.3% 0.161 268.0);
Tailwind
colors: {
custom: {
50: '#7473be',
500: '#273fa1',
950: '#000000',
},
}SCSS
$custom: #273fa1; $custom-light: #7473be; $custom-dark: #000000;
JSON
{
"hex": "#273fa1",
"rgb": {
"r": 39,
"g": 63,
"b": 161
},
"hsl": {
"h": 228.197,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.41347,
"c": 0.16095,
"h": 268
},
"luminance": 0.0656
}Semantic roles & 50–950 ramp
primary
#273FA1
secondary
#C0AE63
accent
#C544E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81