#2D588B#2D588B

#2D588B is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.5% C 0.097 H 254.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2D588B
RGBrgb(45, 88, 139)
HSLhsl(213, 51%, 36%)
HSVhsv(213, 68%, 55%)
CMYKcmyk(67.6%, 36.7%, 0%, 45.5%)
CIE-LABlab(36.74, 2.48, -32.74)
CIE-LCHlch(36.74, 32.83, 274.33°)
OKLaboklab(45.5% -0.0266 -0.0929)
OKLCHoklch(45.5% 0.097 254)
XYZxyz(9.2304, 9.4005, 25.7491)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D588B #8B602D
analogous
#2D878B #2D588B #312D8B
triadic
#2D588B #8B2D58 #588B2D
tetradic
#2D588B #8B2D87 #8B602D #2D8B31
square
#2D588B #8B2D87 #8B602D #2D8B31
split-complementary
#2D588B #8B312D #878B2D
monochromatic
#0F1D2F #1E3B5D #2D588B #3C75B9 #6595CD

Accessibility & contrast

On white

7.29
#2D588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D588B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D588B#FFFFFF#000000##FFFFFF
##2D588B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8D
Deuteranopia (green-blind)
#34528A
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d588b;
/* rgb */ color: rgb(45, 88, 139);
/* oklch */ color: oklch(45.5% 0.097 254.0);
Tailwind
colors: {
  custom: {
    50: '#7086ad',
    500: '#2d588b',
    950: '#000000',
  },
}
SCSS
$custom: #2d588b;
$custom-light: #7086ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d588b",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 212.553,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.09665,
    "h": 254
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#2D588B
secondary
#B48D60
accent
#9A4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D588B

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

Preview Lab → · Contrast checker → · Palette generator →

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