#273E79#273E79

#273E79 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.104 H 265.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#273E79
RGBrgb(39, 62, 121)
HSLhsl(223, 51%, 31%)
HSVhsv(223, 68%, 47%)
CMYKcmyk(67.8%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.45, 11.89, -36.42)
CIE-LCHlch(27.45, 38.31, 288.08°)
OKLaboklab(37.88% -0.0079 -0.1042)
OKLCHoklch(37.88% 0.104 265.6)
XYZxyz(6.0093, 5.2565, 18.7834)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E79 #796227
analogous
#276779 #273E79 #392779
triadic
#273E79 #79273E #3E7927
tetradic
#273E79 #792767 #796227 #277939
square
#273E79 #792767 #796227 #277939
split-complementary
#273E79 #793927 #677927
monochromatic
#090F1C #18264B #273E79 #3656A7 #5374C8

Accessibility & contrast

On white

10.24
#273E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E79
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E79#FFFFFF#000000##FFFFFF
##273E791.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273e79;
/* rgb */ color: rgb(39, 62, 121);
/* oklch */ color: oklch(37.9% 0.104 265.6);
Tailwind
colors: {
  custom: {
    50: '#6b72a0',
    500: '#273e79',
    950: '#000000',
  },
}
SCSS
$custom: #273e79;
$custom-light: #6b72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273e79",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 223.171,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37876,
    "c": 0.10449,
    "h": 265.6
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#273E79
secondary
#AB9251
accent
#B34DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #273E79

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

Preview Lab → · Contrast checker → · Palette generator →

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