#273686#273686

#273686 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.135 H 270.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#273686
RGBrgb(39, 54, 134)
HSLhsl(231, 55%, 34%)
HSVhsv(231, 71%, 53%)
CMYKcmyk(70.9%, 59.7%, 0%, 47.5%)
CIE-LABlab(26.13, 22.43, -46.71)
CIE-LCHlch(26.13, 51.81, 295.66°)
OKLaboklab(37.18% 0.001 -0.1346)
OKLCHoklch(37.18% 0.135 270.4)
XYZxyz(6.4575, 4.7903, 23.1339)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273686 #867727
analogous
#276686 #273686 #482786
triadic
#273686 #862736 #368627
tetradic
#273686 #862766 #867727 #278648
square
#273686 #862766 #867727 #278648
split-complementary
#273686 #864827 #668627
monochromatic
#0B1027 #192357 #273686 #3549B5 #596BCF

Accessibility & contrast

On white

10.72
#273686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#273686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273686
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273686#FFFFFF#000000##FFFFFF
##2736861.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273686;
/* rgb */ color: rgb(39, 54, 134);
/* oklch */ color: oklch(37.2% 0.135 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e6caa',
    500: '#273686',
    950: '#000000',
  },
}
SCSS
$custom: #273686;
$custom-light: #6e6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#273686",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 230.526,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.13458,
    "h": 270.4
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#273686
secondary
#B4A555
accent
#C74ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273686

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

Preview Lab → · Contrast checker → · Palette generator →

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