#2D588F#2D588F

#2D588F is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.102 H 255.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2D588F
RGBrgb(45, 88, 143)
HSLhsl(214, 52%, 37%)
HSVhsv(214, 69%, 56%)
CMYKcmyk(68.5%, 38.5%, 0%, 43.9%)
CIE-LABlab(36.97, 3.97, -34.82)
CIE-LCHlch(36.97, 35.04, 276.50°)
OKLaboklab(45.74% -0.0255 -0.099)
OKLCHoklch(45.74% 0.102 255.5)
XYZxyz(9.5280, 9.5195, 27.3166)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D588F #8F642D
analogous
#2D898F #2D588F #332D8F
triadic
#2D588F #8F2D58 #588F2D
tetradic
#2D588F #8F2D89 #8F642D #2D8F33
square
#2D588F #8F2D89 #8F642D #2D8F33
split-complementary
#2D588F #8F332D #898F2D
monochromatic
#101F32 #1E3B60 #2D588F #3C75BE #6795CF

Accessibility & contrast

On white

7.23
#2D588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D588F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D588F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D588F#FFFFFF#000000##FFFFFF
##2D588F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d588f;
/* rgb */ color: rgb(45, 88, 143);
/* oklch */ color: oklch(45.7% 0.102 255.5);
Tailwind
colors: {
  custom: {
    50: '#7186b0',
    500: '#2d588f',
    950: '#000000',
  },
}
SCSS
$custom: #2d588f;
$custom-light: #7186b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d588f",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 213.673,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45744,
    "c": 0.10222,
    "h": 255.5
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#2D588F
secondary
#B69162
accent
#9D4CDC
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D588F

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

Preview Lab → · Contrast checker → · Palette generator →

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