#273E88#273E88

#273E88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.127 H 267.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#273E88
RGBrgb(39, 62, 136)
HSLhsl(226, 55%, 34%)
HSVhsv(226, 71%, 53%)
CMYKcmyk(71.3%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.52, 17.70, -44.07)
CIE-LCHlch(28.52, 47.49, 291.88°)
OKLaboklab(39.03% -0.0061 -0.1267)
OKLCHoklch(39.03% 0.127 267.3)
XYZxyz(7.0017, 5.6535, 24.0100)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E88 #887127
analogous
#276F88 #273E88 #412788
triadic
#273E88 #88273E #3E8827
tetradic
#273E88 #88276F #887127 #278841
square
#273E88 #88276F #887127 #278841
split-complementary
#273E88 #884127 #6F8827
monochromatic
#0C1329 #192858 #273E88 #3554B8 #5A76D0

Accessibility & contrast

On white

9.86
#273E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E88
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E88#FFFFFF#000000##FFFFFF
##273E881.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273e88;
/* rgb */ color: rgb(39, 62, 136);
/* oklch */ color: oklch(39.0% 0.127 267.3);
Tailwind
colors: {
  custom: {
    50: '#6e72ab',
    500: '#273e88',
    950: '#000000',
  },
}
SCSS
$custom: #273e88;
$custom-light: #6e72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273e88",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 225.773,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.12685,
    "h": 267.3
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273E88

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

Preview Lab → · Contrast checker → · Palette generator →

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