#273688#273688

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

Color values

HEX#273688
RGBrgb(39, 54, 136)
HSLhsl(231, 55%, 34%)
HSVhsv(231, 71%, 53%)
CMYKcmyk(71.3%, 60.3%, 0%, 46.7%)
CIE-LABlab(26.29, 23.20, -47.68)
CIE-LCHlch(26.29, 53.03, 295.94°)
OKLaboklab(37.36% 0.001 -0.1374)
OKLCHoklch(37.36% 0.137 270.4)
XYZxyz(6.5983, 4.8466, 23.8755)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273688 #887927
analogous
#276788 #273688 #492788
triadic
#273688 #882736 #368827
tetradic
#273688 #882767 #887927 #278849
square
#273688 #882767 #887927 #278849
split-complementary
#273688 #884927 #678827
monochromatic
#0C1029 #192358 #273688 #3549B8 #5A6CD0

Accessibility & contrast

On white

10.66
#273688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273688
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273688#FFFFFF#000000##FFFFFF
##2736881.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273688;
/* rgb */ color: rgb(39, 54, 136);
/* oklch */ color: oklch(37.4% 0.137 270.4);
Tailwind
colors: {
  custom: {
    50: '#6f6cab',
    500: '#273688',
    950: '#000000',
  },
}
SCSS
$custom: #273688;
$custom-light: #6f6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#273688",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 230.722,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37357,
    "c": 0.13745,
    "h": 270.4
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#273688
secondary
#B5A656
accent
#C849DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273688

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

Preview Lab → · Contrast checker → · Palette generator →

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