#273FA8#273FA8
#273FA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.170 H 268.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #273FA8 |
|---|---|
| RGB | rgb(39, 63, 168) |
| HSL | hsl(229, 62%, 41%) |
| HSV | hsv(229, 77%, 66%) |
| CMYK | cmyk(76.8%, 62.5%, 0%, 34.1%) |
| CIE-LAB | lab(31.38, 29.29, -58.93) |
| CIE-LCH | lch(31.38, 65.81, 296.43°) |
| OKLab | oklab(41.97% -0.0058 -0.1704) |
| OKLCH | oklch(41.97% 0.17 268.1) |
| XYZ | xyz(9.6796, 6.8124, 37.8430) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.18
Cobalt
#0047AB
ΔE00 4.16
Blue Blue
#2242C7
ΔE00 4.20
Blueberry
#464196
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 5.82
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FA8 #A89027
analogous
#277FA8 #273FA8 #4F27A8
triadic
#273FA8 #A8273F #3FA827
tetradic
#273FA8 #A8277F #A89027 #27A84F
square
#273FA8 #A8277F #A89027 #27A84F
split-complementary
#273FA8 #A84F27 #7FA827
monochromatic
#101A45 #1B2C76 #273FA8 #3B57D1 #6C81DD
Accessibility & contrast
On white
8.89
#273FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#273FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FA8
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FA8 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #273fa8; /* rgb */ color: rgb(39, 63, 168); /* oklch */ color: oklch(42.0% 0.170 268.1);
Tailwind
colors: {
custom: {
50: '#7673c3',
500: '#273fa8',
950: '#000000',
},
}SCSS
$custom: #273fa8; $custom-light: #7673c3; $custom-dark: #000000;
JSON
{
"hex": "#273fa8",
"rgb": {
"r": 39,
"g": 63,
"b": 168
},
"hsl": {
"h": 228.837,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.41974,
"c": 0.17046,
"h": 268.1
},
"luminance": 0.06814
}Semantic roles & 50–950 ramp
primary
#273FA8
secondary
#C3B267
accent
#C742E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82