#273E78#273E78

#273E78 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.103 H 265.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#273E78
RGBrgb(39, 62, 120)
HSLhsl(223, 51%, 31%)
HSVhsv(223, 68%, 47%)
CMYKcmyk(67.5%, 48.3%, 0%, 52.9%)
CIE-LABlab(27.39, 11.50, -35.89)
CIE-LCHlch(27.39, 37.69, 287.77°)
OKLaboklab(37.8% -0.0081 -0.1026)
OKLCHoklch(37.8% 0.103 265.5)
XYZxyz(5.9483, 5.2321, 18.4621)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E78 #786127
analogous
#276678 #273E78 #382778
triadic
#273E78 #78273E #3E7827
tetradic
#273E78 #782766 #786127 #277838
square
#273E78 #782766 #786127 #277838
split-complementary
#273E78 #783827 #667827
monochromatic
#090E1C #18264A #273E78 #3656A6 #5274C7

Accessibility & contrast

On white

10.26
#273E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E78
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E78#FFFFFF#000000##FFFFFF
##273E781.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#123D77
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273e78;
/* rgb */ color: rgb(39, 62, 120);
/* oklch */ color: oklch(37.8% 0.103 265.5);
Tailwind
colors: {
  custom: {
    50: '#6a729f',
    500: '#273e78',
    950: '#000000',
  },
}
SCSS
$custom: #273e78;
$custom-light: #6a729f;
$custom-dark: #000000;
JSON
{
  "hex": "#273e78",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 120
  },
  "hsl": {
    "h": 222.963,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.10297,
    "h": 265.5
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#273E78
secondary
#AA9151
accent
#B24DDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273E78

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

Preview Lab → · Contrast checker → · Palette generator →

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