#273597#273597

#273597 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.160 H 270.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#273597
RGBrgb(39, 53, 151)
HSLhsl(233, 59%, 37%)
HSVhsv(233, 74%, 59%)
CMYKcmyk(74.2%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.33, 29.53, -55.25)
CIE-LCHlch(27.33, 62.65, 298.12°)
OKLaboklab(38.53% 0.0014 -0.1597)
OKLCHoklch(38.53% 0.16 270.5)
XYZxyz(7.6938, 5.2111, 29.8725)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273597 #978927
analogous
#276D97 #273597 #512797
triadic
#273597 #972735 #359727
tetradic
#273597 #97276D #978927 #279751
square
#273597 #97276D #978927 #279751
split-complementary
#273597 #975127 #6D9727
monochromatic
#0E1336 #1A2466 #273597 #3446C8 #6271D6

Accessibility & contrast

On white

10.28
#273597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273597
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273597#FFFFFF#000000##FFFFFF
##2735971.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273597;
/* rgb */ color: rgb(39, 53, 151);
/* oklch */ color: oklch(38.5% 0.160 270.5);
Tailwind
colors: {
  custom: {
    50: '#726cb6',
    500: '#273597',
    950: '#000000',
  },
}
SCSS
$custom: #273597;
$custom-light: #726cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#273597",
  "rgb": {
    "r": 39,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 232.5,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.15968,
    "h": 270.5
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#273597
secondary
#BCB05E
accent
#CF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273597

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

Preview Lab → · Contrast checker → · Palette generator →

#273597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva