#273D79#273D79

#273D79 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.106 H 266.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#273D79
RGBrgb(39, 61, 121)
HSLhsl(224, 51%, 31%)
HSVhsv(224, 68%, 47%)
CMYKcmyk(67.8%, 49.6%, 0%, 52.5%)
CIE-LABlab(27.15, 12.58, -36.90)
CIE-LCHlch(27.15, 38.98, 288.83°)
OKLaboklab(37.65% -0.0069 -0.1056)
OKLCHoklch(37.65% 0.106 266.3)
XYZxyz(5.9554, 5.1487, 18.7654)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D79 #796327
analogous
#276679 #273D79 #3A2779
triadic
#273D79 #79273D #3D7927
tetradic
#273D79 #792766 #796327 #27793A
square
#273D79 #792766 #796327 #27793A
split-complementary
#273D79 #793A27 #667927
monochromatic
#090E1C #18264B #273D79 #3654A7 #5372C8

Accessibility & contrast

On white

10.35
#273D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#273D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D79
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D79#FFFFFF#000000##FFFFFF
##273D791.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#0D3D78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273d79;
/* rgb */ color: rgb(39, 61, 121);
/* oklch */ color: oklch(37.6% 0.106 266.3);
Tailwind
colors: {
  custom: {
    50: '#6b72a0',
    500: '#273d79',
    950: '#000000',
  },
}
SCSS
$custom: #273d79;
$custom-light: #6b72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273d79",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 223.902,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.10583,
    "h": 266.3
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#273D79
secondary
#AB9351
accent
#B54DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #273D79

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

Preview Lab → · Contrast checker → · Palette generator →

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