#273177#273177

#273177 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.119 H 272.5°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#273177
RGBrgb(39, 49, 119)
HSLhsl(233, 51%, 31%)
HSVhsv(233, 67%, 47%)
CMYKcmyk(67.2%, 58.8%, 0%, 53.3%)
CIE-LABlab(23.54, 20.17, -41.47)
CIE-LCHlch(23.54, 46.11, 295.93°)
OKLaboklab(34.87% 0.0052 -0.1192)
OKLCHoklch(34.87% 0.119 272.5)
XYZxyz(5.2637, 3.9594, 17.9360)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273177 #776D27
analogous
#275977 #273177 #452777
triadic
#273177 #772731 #317727
tetradic
#273177 #772759 #776D27 #277745
square
#273177 #772759 #776D27 #277745
split-complementary
#273177 #774527 #597727
monochromatic
#090B1B #181E49 #273177 #3644A5 #5261C6

Accessibility & contrast

On white

11.72
#273177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#273177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273177
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273177#FFFFFF#000000##FFFFFF
##2731771.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273177;
/* rgb */ color: rgb(39, 49, 119);
/* oklch */ color: oklch(34.9% 0.119 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b689f',
    500: '#273177',
    950: '#000000',
  },
}
SCSS
$custom: #273177;
$custom-light: #6b689f;
$custom-dark: #000000;
JSON
{
  "hex": "#273177",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 119
  },
  "hsl": {
    "h": 232.5,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.11935,
    "h": 272.5
  },
  "luminance": 0.0396
}

Semantic roles & 50–950 ramp

primary
#273177
secondary
#A99E51
accent
#C94EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273177

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

Preview Lab → · Contrast checker → · Palette generator →

#273177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva