#273493#273493

#273493 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.155 H 270.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#273493
RGBrgb(39, 52, 147)
HSLhsl(233, 58%, 36%)
HSVhsv(233, 73%, 58%)
CMYKcmyk(73.5%, 64.6%, 0%, 42.4%)
CIE-LABlab(26.72, 28.70, -53.80)
CIE-LCHlch(26.72, 60.98, 298.08°)
OKLaboklab(37.96% 0.0023 -0.1554)
OKLCHoklch(37.96% 0.155 270.9)
XYZxyz(7.3294, 4.9932, 28.1756)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273493 #938627
analogous
#276A93 #273493 #502793
triadic
#273493 #932734 #349327
tetradic
#273493 #93276A #938627 #279350
square
#273493 #93276A #938627 #279350
split-complementary
#273493 #935027 #6A9327
monochromatic
#0D1232 #1A2363 #273493 #3445C3 #606ED5

Accessibility & contrast

On white

10.51
#273493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273493
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273493#FFFFFF#000000##FFFFFF
##2734931.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273493;
/* rgb */ color: rgb(39, 52, 147);
/* oklch */ color: oklch(38.0% 0.155 270.9);
Tailwind
colors: {
  custom: {
    50: '#716bb4',
    500: '#273493',
    950: '#000000',
  },
}
SCSS
$custom: #273493;
$custom-light: #716bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#273493",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 232.778,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.15544,
    "h": 270.9
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#273493
secondary
#BAAF5C
accent
#CF47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273493

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

Preview Lab → · Contrast checker → · Palette generator →

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