#273796#273796

#273796 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.156 H 270.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#273796
RGBrgb(39, 55, 150)
HSLhsl(231, 59%, 37%)
HSVhsv(231, 74%, 59%)
CMYKcmyk(74%, 63.3%, 0%, 41.2%)
CIE-LABlab(27.75, 27.83, -53.95)
CIE-LCHlch(27.75, 60.70, 297.28°)
OKLaboklab(38.81% 0.0001 -0.1558)
OKLCHoklch(38.81% 0.156 270)
XYZxyz(7.7060, 5.3649, 29.4777)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273796 #968627
analogous
#276F96 #273796 #4E2796
triadic
#273796 #962737 #379627
tetradic
#273796 #96276F #968627 #27964E
square
#273796 #96276F #968627 #27964E
split-complementary
#273796 #964E27 #6F9627
monochromatic
#0E1335 #1A2565 #273796 #3449C7 #6172D6

Accessibility & contrast

On white

10.13
#273796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273796
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273796#FFFFFF#000000##FFFFFF
##2737961.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273796;
/* rgb */ color: rgb(39, 55, 150);
/* oklch */ color: oklch(38.8% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#726db6',
    500: '#273796',
    950: '#000000',
  },
}
SCSS
$custom: #273796;
$custom-light: #726db6;
$custom-dark: #000000;
JSON
{
  "hex": "#273796",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 231.351,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.15583,
    "h": 270
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#273796
secondary
#BCAE5D
accent
#CB46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273796

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

Preview Lab → · Contrast checker → · Palette generator →

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