#2D578D#2D578D

#2D578D is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.101 H 255.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2D578D
RGBrgb(45, 87, 141)
HSLhsl(214, 52%, 36%)
HSVhsv(214, 68%, 55%)
CMYKcmyk(68.1%, 38.3%, 0%, 44.7%)
CIE-LABlab(36.55, 3.87, -34.27)
CIE-LCHlch(36.55, 34.48, 276.44°)
OKLaboklab(45.38% -0.025 -0.0974)
OKLCHoklch(45.38% 0.101 255.6)
XYZxyz(9.2964, 9.2964, 26.4986)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D578D #8D632D
analogous
#2D878D #2D578D #332D8D
triadic
#2D578D #8D2D57 #578D2D
tetradic
#2D578D #8D2D87 #8D632D #2D8D33
square
#2D578D #8D2D87 #8D632D #2D8D33
split-complementary
#2D578D #8D332D #878D2D
monochromatic
#0F1E30 #1E3A5F #2D578D #3C74BB #6694CE

Accessibility & contrast

On white

7.34
#2D578D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D578D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D578D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D578D#FFFFFF#000000##FFFFFF
##2D578D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d578d;
/* rgb */ color: rgb(45, 87, 141);
/* oklch */ color: oklch(45.4% 0.101 255.6);
Tailwind
colors: {
  custom: {
    50: '#7186ae',
    500: '#2d578d',
    950: '#000000',
  },
}
SCSS
$custom: #2d578d;
$custom-light: #7186ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d578d",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 141
  },
  "hsl": {
    "h": 213.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.10054,
    "h": 255.6
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#2D578D
secondary
#B59061
accent
#9D4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D578D

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

Preview Lab → · Contrast checker → · Palette generator →

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