#2D517E#2D517E

#2D517E is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.086 H 254.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2D517E
RGBrgb(45, 81, 126)
HSLhsl(213, 47%, 34%)
HSVhsv(213, 64%, 49%)
CMYKcmyk(64.3%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.88, 2.20, -29.30)
CIE-LCHlch(33.88, 29.38, 274.30°)
OKLaboklab(43.03% -0.0224 -0.083)
OKLCHoklch(43.03% 0.086 254.9)
XYZxyz(7.7892, 7.9484, 20.8583)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D517E #7E5A2D
analogous
#2D797E #2D517E #312D7E
triadic
#2D517E #7E2D51 #517E2D
tetradic
#2D517E #7E2D79 #7E5A2D #2D7E31
square
#2D517E #7E2D79 #7E5A2D #2D7E31
split-complementary
#2D517E #7E312D #797E2D
monochromatic
#0D1724 #1D3451 #2D517E #3D6EAB #5F8DC6

Accessibility & contrast

On white

8.11
#2D517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D517E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D517E#FFFFFF#000000##FFFFFF
##2D517E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d517e;
/* rgb */ color: rgb(45, 81, 126);
/* oklch */ color: oklch(43.0% 0.086 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e81a3',
    500: '#2d517e',
    950: '#000000',
  },
}
SCSS
$custom: #2d517e;
$custom-light: #6e81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d517e",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 213.333,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.08593,
    "h": 254.9
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#2D517E
secondary
#AC885A
accent
#9B51D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D517E

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

Preview Lab → · Contrast checker → · Palette generator →

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