#2D588C#2D588C

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

Color values

HEX#2D588C
RGBrgb(45, 88, 140)
HSLhsl(213, 51%, 36%)
HSVhsv(213, 68%, 55%)
CMYKcmyk(67.9%, 37.1%, 0%, 45.1%)
CIE-LABlab(36.80, 2.85, -33.26)
CIE-LCHlch(36.80, 33.38, 274.90°)
OKLaboklab(45.56% -0.0263 -0.0944)
OKLCHoklch(45.56% 0.098 254.4)
XYZxyz(9.3038, 9.4299, 26.1357)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D588C #8C612D
analogous
#2D888C #2D588C #322D8C
triadic
#2D588C #8C2D58 #588C2D
tetradic
#2D588C #8C2D88 #8C612D #2D8C32
square
#2D588C #8C2D88 #8C612D #2D8C32
split-complementary
#2D588C #8C322D #888C2D
monochromatic
#0F1E2F #1E3B5E #2D588C #3C75BA #6695CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D588C#FFFFFF#000000##FFFFFF
##2D588C1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8E
Deuteranopia (green-blind)
#34528B
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d588c;
/* rgb */ color: rgb(45, 88, 140);
/* oklch */ color: oklch(45.6% 0.098 254.4);
Tailwind
colors: {
  custom: {
    50: '#7186ae',
    500: '#2d588c',
    950: '#000000',
  },
}
SCSS
$custom: #2d588c;
$custom-light: #7186ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d588c",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 212.842,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.09803,
    "h": 254.4
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D588C

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

Preview Lab → · Contrast checker → · Palette generator →

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