#273687#273687

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

Color values

HEX#273687
RGBrgb(39, 54, 135)
HSLhsl(231, 55%, 34%)
HSVhsv(231, 71%, 53%)
CMYKcmyk(71.1%, 60%, 0%, 47.1%)
CIE-LABlab(26.21, 22.82, -47.20)
CIE-LCHlch(26.21, 52.42, 295.80°)
OKLaboklab(37.27% 0.001 -0.136)
OKLCHoklch(37.27% 0.136 270.4)
XYZxyz(6.5276, 4.8183, 23.5030)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273687 #877827
analogous
#276687 #273687 #482787
triadic
#273687 #872736 #368727
tetradic
#273687 #872766 #877827 #278748
square
#273687 #872766 #877827 #278748
split-complementary
#273687 #874827 #668727
monochromatic
#0C1028 #192358 #273687 #3549B6 #596CCF

Accessibility & contrast

On white

10.69
#273687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273687
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273687#FFFFFF#000000##FFFFFF
##2736871.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273687;
/* rgb */ color: rgb(39, 54, 135);
/* oklch */ color: oklch(37.3% 0.136 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cab',
    500: '#273687',
    950: '#000000',
  },
}
SCSS
$custom: #273687;
$custom-light: #6e6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#273687",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 230.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3727,
    "c": 0.13602,
    "h": 270.4
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#273687
secondary
#B4A556
accent
#C749DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273687

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

Preview Lab → · Contrast checker → · Palette generator →

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