#273FA7#273FA7
#273FA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.169 H 268.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #273FA7 |
|---|---|
| RGB | rgb(39, 63, 167) |
| HSL | hsl(229, 62%, 40%) |
| HSV | hsv(229, 77%, 65%) |
| CMYK | cmyk(76.6%, 62.3%, 0%, 34.5%) |
| CIE-LAB | lab(31.29, 28.91, -58.48) |
| CIE-LCH | lch(31.29, 65.23, 296.31°) |
| OKLab | oklab(41.88% -0.0058 -0.169) |
| OKLCH | oklch(41.88% 0.169 268) |
| XYZ | xyz(9.5868, 6.7753, 37.3542) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Cobalt
#0047AB
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.34
Blueberry
#464196
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FA7 #A78F27
analogous
#277FA7 #273FA7 #4F27A7
triadic
#273FA7 #A7273F #3FA727
tetradic
#273FA7 #A7277F #A78F27 #27A74F
square
#273FA7 #A7277F #A78F27 #27A74F
split-complementary
#273FA7 #A74F27 #7FA727
monochromatic
#101A44 #1B2C75 #273FA7 #3A56D1 #6C81DD
Accessibility & contrast
On white
8.92
#273FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#273FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FA7
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FA7 | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #273fa7; /* rgb */ color: rgb(39, 63, 167); /* oklch */ color: oklch(41.9% 0.169 268.0);
Tailwind
colors: {
custom: {
50: '#7573c2',
500: '#273fa7',
950: '#000000',
},
}SCSS
$custom: #273fa7; $custom-light: #7573c2; $custom-dark: #000000;
JSON
{
"hex": "#273fa7",
"rgb": {
"r": 39,
"g": 63,
"b": 167
},
"hsl": {
"h": 228.75,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.41883,
"c": 0.16911,
"h": 268
},
"luminance": 0.06776
}Semantic roles & 50–950 ramp
primary
#273FA7
secondary
#C3B267
accent
#C743E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81