#273E76#273E76

#273E76 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.100 H 265.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#273E76
RGBrgb(39, 62, 118)
HSLhsl(223, 50%, 31%)
HSVhsv(223, 67%, 46%)
CMYKcmyk(66.9%, 47.5%, 0%, 53.7%)
CIE-LABlab(27.25, 10.73, -34.84)
CIE-LCHlch(27.25, 36.46, 287.12°)
OKLaboklab(37.66% -0.0084 -0.0996)
OKLCHoklch(37.66% 0.1 265.2)
XYZxyz(5.8282, 5.1841, 17.8295)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E76 #765F27
analogous
#276576 #273E76 #382776
triadic
#273E76 #76273E #3E7627
tetradic
#273E76 #762765 #765F27 #277638
square
#273E76 #762765 #765F27 #277638
split-complementary
#273E76 #763827 #657627
monochromatic
#090E1A #182648 #273E76 #3656A4 #5273C6

Accessibility & contrast

On white

10.31
#273E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E76
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E76#FFFFFF#000000##FFFFFF
##273E761.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#153D75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273e76;
/* rgb */ color: rgb(39, 62, 118);
/* oklch */ color: oklch(37.7% 0.100 265.2);
Tailwind
colors: {
  custom: {
    50: '#6a729e',
    500: '#273e76',
    950: '#000000',
  },
}
SCSS
$custom: #273e76;
$custom-light: #6a729e;
$custom-dark: #000000;
JSON
{
  "hex": "#273e76",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 222.532,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.09992,
    "h": 265.2
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#273E76
secondary
#A88F51
accent
#B14EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273E76

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

Preview Lab → · Contrast checker → · Palette generator →

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