#273792#273792

#273792 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.150 H 270.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#273792
RGBrgb(39, 55, 146)
HSLhsl(231, 58%, 36%)
HSVhsv(231, 73%, 57%)
CMYKcmyk(73.3%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.40, 26.32, -52.06)
CIE-LCHlch(27.40, 58.34, 296.82°)
OKLaboklab(38.45% 0.0001 -0.1503)
OKLCHoklch(38.45% 0.15 270.1)
XYZxyz(7.3894, 5.2383, 27.8102)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273792 #928227
analogous
#276D92 #273792 #4D2792
triadic
#273792 #922737 #379227
tetradic
#273792 #92276D #928227 #27924D
square
#273792 #92276D #928227 #27924D
split-complementary
#273792 #924D27 #6D9227
monochromatic
#0D1331 #1A2562 #273792 #3449C2 #5F71D4

Accessibility & contrast

On white

10.25
#273792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273792
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273792#FFFFFF#000000##FFFFFF
##2737921.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273792;
/* rgb */ color: rgb(39, 55, 146);
/* oklch */ color: oklch(38.4% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#716db3',
    500: '#273792',
    950: '#000000',
  },
}
SCSS
$custom: #273792;
$custom-light: #716db3;
$custom-dark: #000000;
JSON
{
  "hex": "#273792",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 231.028,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38445,
    "c": 0.15029,
    "h": 270.1
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273792

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

Preview Lab → · Contrast checker → · Palette generator →

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