#2D5F71#2D5F71

#2D5F71 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.9% C 0.061 H 224.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2D5F71
RGBrgb(45, 95, 113)
HSLhsl(196, 43%, 31%)
HSVhsv(196, 60%, 44%)
CMYKcmyk(60.2%, 15.9%, 0%, 55.7%)
CIE-LABlab(37.72, -11.05, -15.29)
CIE-LCHlch(37.72, 18.87, 234.16°)
OKLaboklab(45.87% -0.0438 -0.0425)
OKLCHoklch(45.87% 0.061 224.2)
XYZxyz(8.1539, 9.9338, 17.1073)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F71 #713F2D
analogous
#2D7161 #2D5F71 #2D3D71
triadic
#2D5F71 #712D5F #5F712D
tetradic
#2D5F71 #612D71 #713F2D #3D712D
square
#2D5F71 #612D71 #713F2D #3D712D
split-complementary
#2D5F71 #712D3D #71612D
monochromatic
#0A1519 #1C3A45 #2D5F71 #3E849D #5BA3BE

Accessibility & contrast

On white

7.03
#2D5F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D5F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F71
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F71#FFFFFF#000000##FFFFFF
##2D5F711.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#006565
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d5f71;
/* rgb */ color: rgb(45, 95, 113);
/* oklch */ color: oklch(45.9% 0.061 224.2);
Tailwind
colors: {
  custom: {
    50: '#6d8c99',
    500: '#2d5f71',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f71;
$custom-light: #6d8c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f71",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 195.882,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.06104,
    "h": 224.2
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#2D5F71
secondary
#A36B57
accent
#7655D3
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2D5F71

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

Preview Lab → · Contrast checker → · Palette generator →

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