#273173#273173

#273173 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.113 H 272.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#273173
RGBrgb(39, 49, 115)
HSLhsl(232, 49%, 30%)
HSVhsv(232, 66%, 45%)
CMYKcmyk(66.1%, 57.4%, 0%, 54.9%)
CIE-LABlab(23.22, 18.65, -39.43)
CIE-LCHlch(23.22, 43.62, 295.31°)
OKLaboklab(34.53% 0.005 -0.1132)
OKLCHoklch(34.53% 0.113 272.5)
XYZxyz(5.0285, 3.8653, 16.6974)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273173 #736927
analogous
#275773 #273173 #432773
triadic
#273173 #732731 #317327
tetradic
#273173 #732757 #736927 #277343
square
#273173 #732757 #736927 #277343
split-complementary
#273173 #734327 #577327
monochromatic
#080A18 #181E45 #273173 #3644A1 #5160C4

Accessibility & contrast

On white

11.84
#273173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#273173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273173
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273173#FFFFFF#000000##FFFFFF
##2731731.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #273173;
/* rgb */ color: rgb(39, 49, 115);
/* oklch */ color: oklch(34.5% 0.113 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a689c',
    500: '#273173',
    950: '#000000',
  },
}
SCSS
$custom: #273173;
$custom-light: #6a689c;
$custom-dark: #000000;
JSON
{
  "hex": "#273173",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 232.105,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.11335,
    "h": 272.5
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#273173
secondary
#A59A50
accent
#C74FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273173

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

Preview Lab → · Contrast checker → · Palette generator →

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