#273E87#273E87

#273E87 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.125 H 267.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#273E87
RGBrgb(39, 62, 135)
HSLhsl(226, 55%, 34%)
HSVhsv(226, 71%, 53%)
CMYKcmyk(71.1%, 54.1%, 0%, 47.1%)
CIE-LABlab(28.45, 17.31, -43.57)
CIE-LCHlch(28.45, 46.88, 291.67°)
OKLaboklab(38.95% -0.0062 -0.1252)
OKLCHoklch(38.95% 0.125 267.2)
XYZxyz(6.9310, 5.6252, 23.6375)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E87 #877027
analogous
#276E87 #273E87 #402787
triadic
#273E87 #87273E #3E8727
tetradic
#273E87 #87276E #877027 #278740
square
#273E87 #87276E #877027 #278740
split-complementary
#273E87 #874027 #6E8727
monochromatic
#0C1228 #192858 #273E87 #3554B6 #5976CF

Accessibility & contrast

On white

9.88
#273E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#273E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E87
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E87#FFFFFF#000000##FFFFFF
##273E871.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273e87;
/* rgb */ color: rgb(39, 62, 135);
/* oklch */ color: oklch(38.9% 0.125 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e72aa',
    500: '#273e87',
    950: '#000000',
  },
}
SCSS
$custom: #273e87;
$custom-light: #6e72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#273e87",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 225.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.12538,
    "h": 267.2
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#273E87
secondary
#B49D56
accent
#BB49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E87

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

Preview Lab → · Contrast checker → · Palette generator →

#273E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva