#273387#273387

#273387 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.140 H 271.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#273387
RGBrgb(39, 51, 135)
HSLhsl(233, 55%, 34%)
HSVhsv(233, 71%, 53%)
CMYKcmyk(71.1%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.40, 24.86, -48.51)
CIE-LCHlch(25.40, 54.51, 297.14°)
OKLaboklab(36.67% 0.0035 -0.1399)
OKLCHoklch(36.67% 0.14 271.4)
XYZxyz(6.3922, 4.5476, 23.4579)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273387 #877B27
analogous
#276387 #273387 #4B2787
triadic
#273387 #872733 #338727
tetradic
#273387 #872763 #877B27 #27874B
square
#273387 #872763 #877B27 #27874B
split-complementary
#273387 #874B27 #638727
monochromatic
#0C0F28 #192158 #273387 #3545B6 #5968CF

Accessibility & contrast

On white

11.00
#273387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#273387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273387
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273387#FFFFFF#000000##FFFFFF
##2733871.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #273387;
/* rgb */ color: rgb(39, 51, 135);
/* oklch */ color: oklch(36.7% 0.140 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f6aab',
    500: '#273387',
    950: '#000000',
  },
}
SCSS
$custom: #273387;
$custom-light: #6f6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#273387",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 232.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36672,
    "c": 0.13995,
    "h": 271.4
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#273387
secondary
#B4A856
accent
#CC49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #273387

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

Preview Lab → · Contrast checker → · Palette generator →

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