#273393#273393

#273393 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.157 H 271.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#273393
RGBrgb(39, 51, 147)
HSLhsl(233, 58%, 36%)
HSVhsv(233, 73%, 58%)
CMYKcmyk(73.5%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.46, 29.37, -54.22)
CIE-LCHlch(26.46, 61.66, 298.44°)
OKLaboklab(37.78% 0.003 -0.1567)
OKLCHoklch(37.78% 0.157 271.1)
XYZxyz(7.2852, 4.9048, 28.1609)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273393 #938727
analogous
#276993 #273393 #512793
triadic
#273393 #932733 #339327
tetradic
#273393 #932769 #938727 #279351
square
#273393 #932769 #938727 #279351
split-complementary
#273393 #935127 #699327
monochromatic
#0D1132 #1A2263 #273393 #3444C3 #606DD5

Accessibility & contrast

On white

10.60
#273393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#273393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273393
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273393#FFFFFF#000000##FFFFFF
##2733931.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273393;
/* rgb */ color: rgb(39, 51, 147);
/* oklch */ color: oklch(37.8% 0.157 271.1);
Tailwind
colors: {
  custom: {
    50: '#716ab4',
    500: '#273393',
    950: '#000000',
  },
}
SCSS
$custom: #273393;
$custom-light: #716ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#273393",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 233.333,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.15668,
    "h": 271.1
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#273393
secondary
#BAB05C
accent
#D047E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273393

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

Preview Lab → · Contrast checker → · Palette generator →

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