#273188#273188

#273188 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.144 H 272.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#273188
RGBrgb(39, 49, 136)
HSLhsl(234, 55%, 34%)
HSVhsv(234, 71%, 53%)
CMYKcmyk(71.3%, 64%, 0%, 46.7%)
CIE-LABlab(24.97, 26.59, -49.85)
CIE-LCHlch(24.97, 56.50, 298.08°)
OKLaboklab(36.38% 0.0051 -0.1438)
OKLCHoklch(36.38% 0.144 272)
XYZxyz(6.3774, 4.4049, 23.8019)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273188 #887E27
analogous
#276288 #273188 #4D2788
triadic
#273188 #882731 #318827
tetradic
#273188 #882762 #887E27 #27884D
square
#273188 #882762 #887E27 #27884D
split-complementary
#273188 #884D27 #628827
monochromatic
#0C0F29 #192058 #273188 #3542B8 #5A66D0

Accessibility & contrast

On white

11.16
#273188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#273188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273188
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273188#FFFFFF#000000##FFFFFF
##2731881.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273188;
/* rgb */ color: rgb(39, 49, 136);
/* oklch */ color: oklch(36.4% 0.144 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#273188',
    950: '#000000',
  },
}
SCSS
$custom: #273188;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273188",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 233.814,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36376,
    "c": 0.14394,
    "h": 272
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#273188
secondary
#B5AB56
accent
#CF49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273188

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

Preview Lab → · Contrast checker → · Palette generator →

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