#273E86#273E86

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

Color values

HEX#273E86
RGBrgb(39, 62, 134)
HSLhsl(225, 55%, 34%)
HSVhsv(225, 71%, 53%)
CMYKcmyk(70.9%, 53.7%, 0%, 47.5%)
CIE-LABlab(28.37, 16.93, -43.07)
CIE-LCHlch(28.37, 46.28, 291.45°)
OKLaboklab(38.87% -0.0063 -0.1238)
OKLCHoklch(38.87% 0.124 267.1)
XYZxyz(6.8609, 5.5971, 23.2684)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E86 #866F27
analogous
#276E86 #273E86 #402786
triadic
#273E86 #86273E #3E8627
tetradic
#273E86 #86276E #866F27 #278640
square
#273E86 #86276E #866F27 #278640
split-complementary
#273E86 #864027 #6E8627
monochromatic
#0B1227 #192857 #273E86 #3554B5 #5975CF

Accessibility & contrast

On white

9.91
#273E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E86
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E86#FFFFFF#000000##FFFFFF
##273E861.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273e86;
/* rgb */ color: rgb(39, 62, 134);
/* oklch */ color: oklch(38.9% 0.124 267.1);
Tailwind
colors: {
  custom: {
    50: '#6e72aa',
    500: '#273e86',
    950: '#000000',
  },
}
SCSS
$custom: #273e86;
$custom-light: #6e72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#273e86",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 225.474,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38869,
    "c": 0.12392,
    "h": 267.1
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#273E86
secondary
#B49D55
accent
#BA4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E86

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

Preview Lab → · Contrast checker → · Palette generator →

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