#2D4151#2D4151

#2D4151 is a dark, muted cyan. Relative luminance 0.049; OKLCH L 36.5% C 0.038 H 243.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2D4151
RGBrgb(45, 65, 81)
HSLhsl(207, 29%, 25%)
HSVhsv(207, 44%, 32%)
CMYKcmyk(44.4%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.54, -3.06, -12.13)
CIE-LCHlch(26.54, 12.51, 255.84°)
OKLaboklab(36.54% -0.017 -0.0336)
OKLCHoklch(36.54% 0.038 243.1)
XYZxyz(4.4572, 4.9323, 8.5002)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4151 #513D2D
analogous
#2D514F #2D4151 #2D2F51
triadic
#2D4151 #512D41 #41512D
tetradic
#2D4151 #4F2D51 #513D2D #2F512D
square
#2D4151 #4F2D51 #513D2D #2F512D
split-complementary
#2D4151 #512D2F #514F2D
monochromatic
#0B1014 #17212A #2D4151 #436178 #5980A0

Accessibility & contrast

On white

10.57
#2D4151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D4151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4151
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4151#FFFFFF#000000##FFFFFF
##2D41511.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#363D51
Tritanopia (blue-blind)
#204546
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4151;
/* rgb */ color: rgb(45, 65, 81);
/* oklch */ color: oklch(36.5% 0.038 243.1);
Tailwind
colors: {
  custom: {
    50: '#687581',
    500: '#2d4151',
    950: '#000000',
  },
}
SCSS
$custom: #2d4151;
$custom-light: #687581;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4151",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 206.667,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.03761,
    "h": 243.1
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#2D4151
secondary
#836A57
accent
#8E63C5
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #2D4151

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

Preview Lab → · Contrast checker → · Palette generator →

#2D4151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva