#273E89#273E89

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

Color values

HEX#273E89
RGBrgb(39, 62, 137)
HSLhsl(226, 56%, 35%)
HSVhsv(226, 72%, 54%)
CMYKcmyk(71.5%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.60, 18.09, -44.57)
CIE-LCHlch(28.60, 48.10, 292.09°)
OKLaboklab(39.11% -0.006 -0.1282)
OKLCHoklch(39.11% 0.128 267.3)
XYZxyz(7.0731, 5.6820, 24.3860)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E89 #897227
analogous
#276F89 #273E89 #412789
triadic
#273E89 #89273E #3E8927
tetradic
#273E89 #89276F #897227 #278941
square
#273E89 #89276F #897227 #278941
split-complementary
#273E89 #894127 #6F8927
monochromatic
#0C132A #192859 #273E89 #3554B9 #5A76D0

Accessibility & contrast

On white

9.83
#273E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E89
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E89#FFFFFF#000000##FFFFFF
##273E891.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273e89;
/* rgb */ color: rgb(39, 62, 137);
/* oklch */ color: oklch(39.1% 0.128 267.3);
Tailwind
colors: {
  custom: {
    50: '#6e72ac',
    500: '#273e89',
    950: '#000000',
  },
}
SCSS
$custom: #273e89;
$custom-light: #6e72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#273e89",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 225.918,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.12831,
    "h": 267.3
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#273E89
secondary
#B59F57
accent
#BC49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E89

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

Preview Lab → · Contrast checker → · Palette generator →

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