#273D78#273D78

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

Color values

HEX#273D78
RGBrgb(39, 61, 120)
HSLhsl(224, 51%, 31%)
HSVhsv(224, 68%, 47%)
CMYKcmyk(67.5%, 49.2%, 0%, 52.9%)
CIE-LABlab(27.09, 12.20, -36.38)
CIE-LCHlch(27.09, 38.37, 288.54°)
OKLaboklab(37.57% -0.007 -0.1041)
OKLCHoklch(37.57% 0.104 266.1)
XYZxyz(5.8944, 5.1243, 18.4441)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D78 #786227
analogous
#276578 #273D78 #392778
triadic
#273D78 #78273D #3D7827
tetradic
#273D78 #782765 #786227 #277839
square
#273D78 #782765 #786227 #277839
split-complementary
#273D78 #783927 #657827
monochromatic
#090E1C #18264A #273D78 #3654A6 #5272C7

Accessibility & contrast

On white

10.37
#273D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273D78
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D78#FFFFFF#000000##FFFFFF
##273D781.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#0F3D77
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273d78;
/* rgb */ color: rgb(39, 61, 120);
/* oklch */ color: oklch(37.6% 0.104 266.1);
Tailwind
colors: {
  custom: {
    50: '#6b729f',
    500: '#273d78',
    950: '#000000',
  },
}
SCSS
$custom: #273d78;
$custom-light: #6b729f;
$custom-dark: #000000;
JSON
{
  "hex": "#273d78",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 223.704,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.10432,
    "h": 266.1
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#273D78
secondary
#AA9251
accent
#B44DDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273D78

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

Preview Lab → · Contrast checker → · Palette generator →

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