#274151#274151

#274151 is a dark, muted cyan. Relative luminance 0.048; OKLCH L 36.2% C 0.042 H 236.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#274151
RGBrgb(39, 65, 81)
HSLhsl(203, 35%, 24%)
HSVhsv(203, 52%, 32%)
CMYKcmyk(51.9%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.17, -4.85, -12.73)
CIE-LCHlch(26.17, 13.62, 249.13°)
OKLaboklab(36.15% -0.0233 -0.0353)
OKLCHoklch(36.15% 0.042 236.6)
XYZxyz(4.2117, 4.8057, 8.4886)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274151 #513727
analogous
#27514C #274151 #272C51
triadic
#274151 #512741 #415127
tetradic
#274151 #4C2751 #513727 #2C5127
square
#274151 #4C2751 #513727 #2C5127
split-complementary
#274151 #51272C #514C27
monochromatic
#0A1115 #132028 #274151 #3B627A #4F83A4

Accessibility & contrast

On white

10.71
#274151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#274151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274151
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274151#FFFFFF#000000##FFFFFF
##2741511.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4052
Deuteranopia (green-blind)
#343C51
Tritanopia (blue-blind)
#134546
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #274151;
/* rgb */ color: rgb(39, 65, 81);
/* oklch */ color: oklch(36.2% 0.042 236.6);
Tailwind
colors: {
  custom: {
    50: '#647581',
    500: '#274151',
    950: '#000000',
  },
}
SCSS
$custom: #274151;
$custom-light: #647581;
$custom-dark: #000000;
JSON
{
  "hex": "#274151",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 202.857,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.04228,
    "h": 236.6
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#274151
secondary
#846450
accent
#875DCB
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#05080A
muted
#7A7B7C

Preview Lab

Preview with #274151

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

Preview Lab → · Contrast checker → · Palette generator →

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