#273A97#273A97

#273A97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.153 H 269.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#273A97
RGBrgb(39, 58, 151)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 59%)
CMYKcmyk(74.2%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.62, 26.19, -53.14)
CIE-LCHlch(28.62, 59.25, 296.24°)
OKLaboklab(39.48% -0.0021 -0.1534)
OKLCHoklch(39.48% 0.153 269.2)
XYZxyz(7.9337, 5.6910, 29.9525)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A97 #978427
analogous
#277297 #273A97 #4C2797
triadic
#273A97 #97273A #3A9727
tetradic
#273A97 #972772 #978427 #27974C
square
#273A97 #972772 #978427 #27974C
split-complementary
#273A97 #974C27 #729727
monochromatic
#0E1536 #1A2766 #273A97 #344DC8 #6276D6

Accessibility & contrast

On white

9.82
#273A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A97
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A97#FFFFFF#000000##FFFFFF
##273A971.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273a97;
/* rgb */ color: rgb(39, 58, 151);
/* oklch */ color: oklch(39.5% 0.153 269.2);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#273a97',
    950: '#000000',
  },
}
SCSS
$custom: #273a97;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273a97",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 229.821,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.15344,
    "h": 269.2
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#273A97
secondary
#BCAC5E
accent
#C846E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A97

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#273A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva