#273793#273793

#273793 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.152 H 270.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#273793
RGBrgb(39, 55, 147)
HSLhsl(231, 58%, 36%)
HSVhsv(231, 73%, 58%)
CMYKcmyk(73.5%, 62.6%, 0%, 42.4%)
CIE-LABlab(27.49, 26.70, -52.54)
CIE-LCHlch(27.49, 58.93, 296.94°)
OKLaboklab(38.54% 0.0001 -0.1517)
OKLCHoklch(38.54% 0.152 270.1)
XYZxyz(7.4675, 5.2695, 28.2217)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273793 #938327
analogous
#276D93 #273793 #4D2793
triadic
#273793 #932737 #379327
tetradic
#273793 #93276D #938327 #27934D
square
#273793 #93276D #938327 #27934D
split-complementary
#273793 #934D27 #6D9327
monochromatic
#0D1332 #1A2563 #273793 #3449C3 #6071D5

Accessibility & contrast

On white

10.22
#273793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273793
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273793#FFFFFF#000000##FFFFFF
##2737931.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273793;
/* rgb */ color: rgb(39, 55, 147);
/* oklch */ color: oklch(38.5% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#716db4',
    500: '#273793',
    950: '#000000',
  },
}
SCSS
$custom: #273793;
$custom-light: #716db4;
$custom-dark: #000000;
JSON
{
  "hex": "#273793",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 231.111,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.15169,
    "h": 270.1
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#273793
secondary
#BAAC5C
accent
#CA47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273793

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

Preview Lab → · Contrast checker → · Palette generator →

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