#2D578E#2D578E

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

Color values

HEX#2D578E
RGBrgb(45, 87, 142)
HSLhsl(214, 52%, 37%)
HSVhsv(214, 68%, 56%)
CMYKcmyk(68.3%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.61, 4.24, -34.78)
CIE-LCHlch(36.61, 35.04, 276.95°)
OKLaboklab(45.44% -0.0247 -0.0989)
OKLCHoklch(45.44% 0.102 256)
XYZxyz(9.3711, 9.3263, 26.8922)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D578E #8E642D
analogous
#2D888E #2D578E #342D8E
triadic
#2D578E #8E2D57 #578E2D
tetradic
#2D578E #8E2D88 #8E642D #2D8E34
square
#2D578E #8E2D88 #8E642D #2D8E34
split-complementary
#2D578E #8E342D #888E2D
monochromatic
#101E31 #1E3B60 #2D578E #3C73BC #6794CF

Accessibility & contrast

On white

7.33
#2D578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D578E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D578E#FFFFFF#000000##FFFFFF
##2D578E1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d578e;
/* rgb */ color: rgb(45, 87, 142);
/* oklch */ color: oklch(45.4% 0.102 256.0);
Tailwind
colors: {
  custom: {
    50: '#7186af',
    500: '#2d578e',
    950: '#000000',
  },
}
SCSS
$custom: #2d578e;
$custom-light: #7186af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d578e",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 214.021,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.10195,
    "h": 256
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#2D578E
secondary
#B59161
accent
#9D4CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D578E

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

Preview Lab → · Contrast checker → · Palette generator →

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