#273176#273176

#273176 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.118 H 272.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#273176
RGBrgb(39, 49, 118)
HSLhsl(232, 50%, 31%)
HSVhsv(232, 67%, 46%)
CMYKcmyk(66.9%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.46, 19.79, -40.96)
CIE-LCHlch(23.46, 45.49, 295.78°)
OKLaboklab(34.78% 0.0052 -0.1177)
OKLCHoklch(34.78% 0.118 272.5)
XYZxyz(5.2039, 3.9355, 17.6214)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273176 #766C27
analogous
#275876 #273176 #442776
triadic
#273176 #762731 #317627
tetradic
#273176 #762758 #766C27 #277644
square
#273176 #762758 #766C27 #277644
split-complementary
#273176 #764427 #587627
monochromatic
#090B1A #181E48 #273176 #3644A4 #5260C6

Accessibility & contrast

On white

11.75
#273176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273176
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273176#FFFFFF#000000##FFFFFF
##2731761.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273176;
/* rgb */ color: rgb(39, 49, 118);
/* oklch */ color: oklch(34.8% 0.118 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b689e',
    500: '#273176',
    950: '#000000',
  },
}
SCSS
$custom: #273176;
$custom-light: #6b689e;
$custom-dark: #000000;
JSON
{
  "hex": "#273176",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 232.405,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34782,
    "c": 0.11786,
    "h": 272.5
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#273176
secondary
#A89D51
accent
#C84EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273176

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

Preview Lab → · Contrast checker → · Palette generator →

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