#273B98#273B98
#273B98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.154 H 268.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #273B98 |
|---|---|
| RGB | rgb(39, 59, 152) |
| HSL | hsl(229, 59%, 37%) |
| HSV | hsv(229, 74%, 60%) |
| CMYK | cmyk(74.3%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.97, 25.90, -53.19) |
| CIE-LCH | lch(28.97, 59.16, 295.96°) |
| OKLab | oklab(39.76% -0.0029 -0.1535) |
| OKLCH | oklch(39.76% 0.154 268.9) |
| XYZ | xyz(8.0662, 5.8254, 30.3990) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Blueberry
#464196
ΔE00 4.73
Cobalt
#0047AB
ΔE00 5.38
Cobalt (survey)
#1E488F
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#273B98 #988427
analogous
#277398 #273B98 #4C2798
triadic
#273B98 #98273B #3B9827
tetradic
#273B98 #982773 #988427 #27984C
square
#273B98 #982773 #988427 #27984C
split-complementary
#273B98 #984C27 #739827
monochromatic
#0E1537 #1B2867 #273B98 #334EC9 #6377D7
Accessibility & contrast
On white
9.70
#273B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#273B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #273B98
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##273B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##273B98 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #273b98; /* rgb */ color: rgb(39, 59, 152); /* oklch */ color: oklch(39.8% 0.154 268.9);
Tailwind
colors: {
custom: {
50: '#7270b7',
500: '#273b98',
950: '#000000',
},
}SCSS
$custom: #273b98; $custom-light: #7270b7; $custom-dark: #000000;
JSON
{
"hex": "#273b98",
"rgb": {
"r": 39,
"g": 59,
"b": 152
},
"hsl": {
"h": 229.381,
"s": 59.162,
"l": 37.451
},
"oklch": {
"l": 0.39764,
"c": 0.15357,
"h": 268.9
},
"luminance": 0.05826
}Semantic roles & 50–950 ramp
primary
#273B98
secondary
#BCAC5E
accent
#C745E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80