#273D76#273D76

#273D76 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.101 H 265.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#273D76
RGBrgb(39, 61, 118)
HSLhsl(223, 50%, 31%)
HSVhsv(223, 67%, 46%)
CMYKcmyk(66.9%, 48.3%, 0%, 53.7%)
CIE-LABlab(26.95, 11.42, -35.33)
CIE-LCHlch(26.95, 37.13, 287.92°)
OKLaboklab(37.43% -0.0073 -0.101)
OKLCHoklch(37.43% 0.101 265.8)
XYZxyz(5.7743, 5.0763, 17.8115)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D76 #766027
analogous
#276476 #273D76 #382776
triadic
#273D76 #76273D #3D7627
tetradic
#273D76 #762764 #766027 #277638
square
#273D76 #762764 #766027 #277638
split-complementary
#273D76 #763827 #647627
monochromatic
#090D1A #182548 #273D76 #3655A4 #5272C6

Accessibility & contrast

On white

10.42
#273D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#273D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D76
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D76#FFFFFF#000000##FFFFFF
##273D761.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214478
Deuteranopia (green-blind)
#133C75
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273d76;
/* rgb */ color: rgb(39, 61, 118);
/* oklch */ color: oklch(37.4% 0.101 265.8);
Tailwind
colors: {
  custom: {
    50: '#6a729e',
    500: '#273d76',
    950: '#000000',
  },
}
SCSS
$custom: #273d76;
$custom-light: #6a729e;
$custom-dark: #000000;
JSON
{
  "hex": "#273d76",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 223.291,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37427,
    "c": 0.10127,
    "h": 265.8
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#273D76
secondary
#A89051
accent
#B34EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273D76

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

Preview Lab → · Contrast checker → · Palette generator →

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