#273189#273189

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

Color values

HEX#273189
RGBrgb(39, 49, 137)
HSLhsl(234, 56%, 35%)
HSVhsv(234, 72%, 54%)
CMYKcmyk(71.5%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.06, 26.97, -50.33)
CIE-LCHlch(25.06, 57.09, 298.18°)
OKLaboklab(36.47% 0.005 -0.1453)
OKLCHoklch(36.47% 0.145 272)
XYZxyz(6.4488, 4.4335, 24.1779)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273189 #897F27
analogous
#276289 #273189 #4E2789
triadic
#273189 #892731 #318927
tetradic
#273189 #892762 #897F27 #27894E
square
#273189 #892762 #897F27 #27894E
split-complementary
#273189 #894E27 #628927
monochromatic
#0C0F2A #192059 #273189 #3542B9 #5A66D0

Accessibility & contrast

On white

11.13
#273189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#273189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273189
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273189#FFFFFF#000000##FFFFFF
##2731891.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273189;
/* rgb */ color: rgb(39, 49, 137);
/* oklch */ color: oklch(36.5% 0.145 272.0);
Tailwind
colors: {
  custom: {
    50: '#6f69ac',
    500: '#273189',
    950: '#000000',
  },
}
SCSS
$custom: #273189;
$custom-light: #6f69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#273189",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 233.878,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36468,
    "c": 0.14535,
    "h": 272
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#273189
secondary
#B5AB57
accent
#D049DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273189

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

Preview Lab → · Contrast checker → · Palette generator →

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