#273D82#273D82

#273D82 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.119 H 267.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#273D82
RGBrgb(39, 61, 130)
HSLhsl(225, 54%, 33%)
HSVhsv(225, 70%, 51%)
CMYKcmyk(70%, 53.1%, 0%, 49%)
CIE-LABlab(27.79, 16.06, -41.52)
CIE-LCHlch(27.79, 44.52, 291.15°)
OKLaboklab(38.34% -0.0057 -0.1192)
OKLCHoklch(38.34% 0.119 267.3)
XYZxyz(6.5333, 5.3799, 21.8089)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D82 #826C27
analogous
#276A82 #273D82 #3F2782
triadic
#273D82 #82273D #3D8227
tetradic
#273D82 #82276A #826C27 #27823F
square
#273D82 #82276A #826C27 #27823F
split-complementary
#273D82 #823F27 #6A8227
monochromatic
#0B1124 #192753 #273D82 #3553B1 #5773CD

Accessibility & contrast

On white

10.11
#273D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D82
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D82#FFFFFF#000000##FFFFFF
##273D821.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273d82;
/* rgb */ color: rgb(39, 61, 130);
/* oklch */ color: oklch(38.3% 0.119 267.3);
Tailwind
colors: {
  custom: {
    50: '#6d72a7',
    500: '#273d82',
    950: '#000000',
  },
}
SCSS
$custom: #273d82;
$custom-light: #6d72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#273d82",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 225.495,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.11935,
    "h": 267.3
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#273D82
secondary
#B19B53
accent
#BA4BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273D82

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

Preview Lab → · Contrast checker → · Palette generator →

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