#2D5B79#2D5B79

#2D5B79 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.2% C 0.071 H 239.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2D5B79
RGBrgb(45, 91, 121)
HSLhsl(204, 46%, 33%)
HSVhsv(204, 63%, 47%)
CMYKcmyk(62.8%, 24.8%, 0%, 52.5%)
CIE-LABlab(36.78, -5.91, -21.67)
CIE-LCHlch(36.78, 22.46, 254.74°)
OKLaboklab(45.23% -0.0358 -0.0607)
OKLCHoklch(45.23% 0.071 239.5)
XYZxyz(8.2732, 9.4197, 19.4677)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B79 #794B2D
analogous
#2D7971 #2D5B79 #2D3579
triadic
#2D5B79 #792D5B #5B792D
tetradic
#2D5B79 #712D79 #794B2D #35792D
square
#2D5B79 #712D79 #794B2D #35792D
split-complementary
#2D5B79 #792D35 #79712D
monochromatic
#0C1820 #1C394C #2D5B79 #3E7DA6 #5D9BC3

Accessibility & contrast

On white

7.28
#2D5B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D5B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B79
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B79#FFFFFF#000000##FFFFFF
##2D5B791.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#006365
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d5b79;
/* rgb */ color: rgb(45, 91, 121);
/* oklch */ color: oklch(45.2% 0.071 239.5);
Tailwind
colors: {
  custom: {
    50: '#6e899f',
    500: '#2d5b79',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b79;
$custom-light: #6e899f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b79",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 121
  },
  "hsl": {
    "h": 203.684,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.07051,
    "h": 239.5
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#2D5B79
secondary
#A97858
accent
#8652D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #2D5B79

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

Preview Lab → · Contrast checker → · Palette generator →

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