#273451#273451

#273451 is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.055 H 265.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#273451
RGBrgb(39, 52, 81)
HSLhsl(221, 35%, 24%)
HSVhsv(221, 52%, 32%)
CMYKcmyk(51.9%, 35.8%, 0%, 68.2%)
CIE-LABlab(21.88, 3.87, -19.39)
CIE-LCHlch(21.88, 19.77, 281.27°)
OKLaboklab(32.78% -0.0046 -0.0545)
OKLCHoklch(32.78% 0.055 265.1)
XYZxyz(3.5494, 3.4812, 8.2679)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273451 #514427
analogous
#274951 #273451 #2F2751
triadic
#273451 #512734 #345127
tetradic
#273451 #512749 #514427 #27512F
square
#273451 #512749 #514427 #27512F
split-complementary
#273451 #512F27 #495127
monochromatic
#0A0D15 #131928 #273451 #3B4F7A #4F69A4

Accessibility & contrast

On white

12.38
#273451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#273451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273451
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273451#FFFFFF#000000##FFFFFF
##2734511.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293652
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#163A3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #273451;
/* rgb */ color: rgb(39, 52, 81);
/* oklch */ color: oklch(32.8% 0.055 265.1);
Tailwind
colors: {
  custom: {
    50: '#646b82',
    500: '#273451',
    950: '#000000',
  },
}
SCSS
$custom: #273451;
$custom-light: #646b82;
$custom-dark: #000000;
JSON
{
  "hex": "#273451",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 221.429,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.05467,
    "h": 265.1
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#273451
secondary
#847450
accent
#A95DCB
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05060A
muted
#7A7A7C

Preview Lab

Preview with #273451

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

Preview Lab → · Contrast checker → · Palette generator →

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