#2D588A#2D588A

#2D588A is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.095 H 253.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D588A
RGBrgb(45, 88, 138)
HSLhsl(212, 51%, 36%)
HSVhsv(212, 67%, 54%)
CMYKcmyk(67.4%, 36.2%, 0%, 45.9%)
CIE-LABlab(36.69, 2.11, -32.22)
CIE-LCHlch(36.69, 32.29, 273.75°)
OKLaboklab(45.44% -0.0268 -0.0914)
OKLCHoklch(45.44% 0.095 253.6)
XYZxyz(9.1577, 9.3714, 25.3661)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D588A #8A5F2D
analogous
#2D868A #2D588A #302D8A
triadic
#2D588A #8A2D58 #588A2D
tetradic
#2D588A #8A2D86 #8A5F2D #2D8A30
square
#2D588A #8A2D86 #8A5F2D #2D8A30
split-complementary
#2D588A #8A302D #868A2D
monochromatic
#0F1D2E #1E3B5C #2D588A #3C75B8 #6595CD

Accessibility & contrast

On white

7.31
#2D588A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D588A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D588A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D588A#FFFFFF#000000##FFFFFF
##2D588A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d588a;
/* rgb */ color: rgb(45, 88, 138);
/* oklch */ color: oklch(45.4% 0.095 253.6);
Tailwind
colors: {
  custom: {
    50: '#7086ac',
    500: '#2d588a',
    950: '#000000',
  },
}
SCSS
$custom: #2d588a;
$custom-light: #7086ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d588a",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 138
  },
  "hsl": {
    "h": 212.258,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45438,
    "c": 0.09525,
    "h": 253.6
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#2D588A
secondary
#B38D60
accent
#994DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D588A

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

Preview Lab → · Contrast checker → · Palette generator →

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