#2D588D#2D588D

#2D588D is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.6% C 0.099 H 254.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2D588D
RGBrgb(45, 88, 141)
HSLhsl(213, 52%, 36%)
HSVhsv(213, 68%, 55%)
CMYKcmyk(68.1%, 37.6%, 0%, 44.7%)
CIE-LABlab(36.85, 3.22, -33.78)
CIE-LCHlch(36.85, 33.94, 275.45°)
OKLaboklab(45.62% -0.026 -0.096)
OKLCHoklch(45.62% 0.099 254.8)
XYZxyz(9.3779, 9.4595, 26.5258)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D588D #8D622D
analogous
#2D888D #2D588D #322D8D
triadic
#2D588D #8D2D58 #588D2D
tetradic
#2D588D #8D2D88 #8D622D #2D8D32
square
#2D588D #8D2D88 #8D622D #2D8D32
split-complementary
#2D588D #8D322D #888D2D
monochromatic
#0F1E30 #1E3B5F #2D588D #3C75BB #6695CE

Accessibility & contrast

On white

7.26
#2D588D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2D588D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D588D
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D588D#FFFFFF#000000##FFFFFF
##2D588D1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d588d;
/* rgb */ color: rgb(45, 88, 141);
/* oklch */ color: oklch(45.6% 0.099 254.8);
Tailwind
colors: {
  custom: {
    50: '#7186ae',
    500: '#2d588d',
    950: '#000000',
  },
}
SCSS
$custom: #2d588d;
$custom-light: #7186ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d588d",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 213.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.09943,
    "h": 254.8
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#2D588D
secondary
#B58F61
accent
#9B4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D588D

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

Preview Lab → · Contrast checker → · Palette generator →

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