#273E98#273E98
#273E98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.150 H 268.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #273E98 |
|---|---|
| RGB | rgb(39, 62, 152) |
| HSL | hsl(228, 59%, 37%) |
| HSV | hsv(228, 74%, 60%) |
| CMYK | cmyk(74.3%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(29.77, 23.87, -51.88) |
| CIE-LCH | lch(29.77, 57.11, 294.71°) |
| OKLab | oklab(40.36% -0.0052 -0.1497) |
| OKLCH | oklch(40.36% 0.15 268) |
| XYZ | xyz(8.2249, 6.1427, 30.4519) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.59
Blueberry
#464196
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 4.86
Darkish Blue
#014182
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273E98 #988127
analogous
#277698 #273E98 #492798
triadic
#273E98 #98273E #3E9827
tetradic
#273E98 #982776 #988127 #279849
square
#273E98 #982776 #988127 #279849
split-complementary
#273E98 #984927 #769827
monochromatic
#0E1637 #1B2A67 #273E98 #3352C9 #637AD7
Accessibility & contrast
On white
9.42
#273E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#273E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273E98
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273E98 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #273e98; /* rgb */ color: rgb(39, 62, 152); /* oklch */ color: oklch(40.4% 0.150 268.0);
Tailwind
colors: {
custom: {
50: '#7272b7',
500: '#273e98',
950: '#000000',
},
}SCSS
$custom: #273e98; $custom-light: #7272b7; $custom-dark: #000000;
JSON
{
"hex": "#273e98",
"rgb": {
"r": 39,
"g": 62,
"b": 152
},
"hsl": {
"h": 227.788,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.40361,
"c": 0.14976,
"h": 268
},
"luminance": 0.06144
}Semantic roles & 50–950 ramp
primary
#273E98
secondary
#BCA95E
accent
#C245E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80