#2D4158#2D4158

#2D4158 is a dark, muted cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.047 H 252.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2D4158
RGBrgb(45, 65, 88)
HSLhsl(212, 32%, 26%)
HSVhsv(212, 49%, 35%)
CMYKcmyk(48.9%, 26.1%, 0%, 65.5%)
CIE-LABlab(26.86, -0.77, -16.21)
CIE-LCHlch(26.86, 16.23, 267.28°)
OKLaboklab(36.89% -0.0142 -0.0452)
OKLCHoklch(36.89% 0.047 252.5)
XYZxyz(4.7333, 5.0428, 9.9546)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4158 #58442D
analogous
#2D5658 #2D4158 #2E2D58
triadic
#2D4158 #582D41 #41582D
tetradic
#2D4158 #582D56 #58442D #2D582E
square
#2D4158 #582D56 #58442D #2D582E
split-complementary
#2D4158 #582E2D #56582D
monochromatic
#0A0F14 #182330 #2D4158 #425F80 #577DA9

Accessibility & contrast

On white

10.46
#2D4158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D4158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4158
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4158#FFFFFF#000000##FFFFFF
##2D41581.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384259
Deuteranopia (green-blind)
#333E58
Tritanopia (blue-blind)
#1C4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4158;
/* rgb */ color: rgb(45, 65, 88);
/* oklch */ color: oklch(36.9% 0.047 252.5);
Tailwind
colors: {
  custom: {
    50: '#687587',
    500: '#2d4158',
    950: '#000000',
  },
}
SCSS
$custom: #2d4158;
$custom-light: #687587;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4158",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 88
  },
  "hsl": {
    "h": 212.093,
    "s": 32.331,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36892,
    "c": 0.04735,
    "h": 252.5
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#2D4158
secondary
#8A7257
accent
#985FC8
background
#F6F7F8
surface
#EBEDEF
border
#C6C8CA
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2D4158

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

Preview Lab → · Contrast checker → · Palette generator →

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