#273FB1#273FB1
#273FB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.182 H 268.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #273FB1 |
|---|---|
| RGB | rgb(39, 63, 177) |
| HSL | hsl(230, 64%, 42%) |
| HSV | hsv(230, 78%, 69%) |
| CMYK | cmyk(78%, 64.4%, 0%, 30.6%) |
| CIE-LAB | lab(32.17, 32.66, -63.02) |
| CIE-LCH | lch(32.17, 70.97, 297.39°) |
| OKLab | oklab(42.8% -0.006 -0.1823) |
| OKLCH | oklch(42.8% 0.182 268.1) |
| XYZ | xyz(10.5473, 7.1595, 42.4125) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blue Blue
#2242C7
ΔE00 2.97
Cobalt
#0047AB
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 5.18
Blueberry
#464196
ΔE00 5.73
Blue (survey)
#0343DF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273FB1 #B19927
analogous
#2784B1 #273FB1 #5427B1
triadic
#273FB1 #B1273F #3FB127
tetradic
#273FB1 #B12784 #B19927 #27B154
square
#273FB1 #B12784 #B19927 #27B154
split-complementary
#273FB1 #B15427 #84B127
monochromatic
#111B4D #1C2D7F #273FB1 #405AD5 #7285E0
Accessibility & contrast
On white
8.63
#273FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#273FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273FB1
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273FB1 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #273fb1; /* rgb */ color: rgb(39, 63, 177); /* oklch */ color: oklch(42.8% 0.182 268.1);
Tailwind
colors: {
custom: {
50: '#7874c9',
500: '#273fb1',
950: '#000000',
},
}SCSS
$custom: #273fb1; $custom-light: #7874c9; $custom-dark: #000000;
JSON
{
"hex": "#273fb1",
"rgb": {
"r": 39,
"g": 63,
"b": 177
},
"hsl": {
"h": 229.565,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.42801,
"c": 0.18242,
"h": 268.1
},
"luminance": 0.07161
}Semantic roles & 50–950 ramp
primary
#273FB1
secondary
#C7B76D
accent
#CA41E7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82