#2D517D#2D517D

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

Color values

HEX#2D517D
RGBrgb(45, 81, 125)
HSLhsl(213, 47%, 33%)
HSVhsv(213, 64%, 49%)
CMYKcmyk(64%, 35.2%, 0%, 51%)
CIE-LABlab(33.82, 1.84, -28.77)
CIE-LCHlch(33.82, 28.83, 273.65°)
OKLaboklab(42.97% -0.0227 -0.0814)
OKLCHoklch(42.97% 0.085 254.4)
XYZxyz(7.7250, 7.9227, 20.5202)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D517D #7D592D
analogous
#2D797D #2D517D #312D7D
triadic
#2D517D #7D2D51 #517D2D
tetradic
#2D517D #7D2D79 #7D592D #2D7D31
square
#2D517D #7D2D79 #7D592D #2D7D31
split-complementary
#2D517D #7D312D #797D2D
monochromatic
#0D1723 #1D3450 #2D517D #3D6EAA #5F8DC5

Accessibility & contrast

On white

8.13
#2D517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D517D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D517D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D517D#FFFFFF#000000##FFFFFF
##2D517D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d517d;
/* rgb */ color: rgb(45, 81, 125);
/* oklch */ color: oklch(43.0% 0.085 254.4);
Tailwind
colors: {
  custom: {
    50: '#6e81a3',
    500: '#2d517d',
    950: '#000000',
  },
}
SCSS
$custom: #2d517d;
$custom-light: #6e81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d517d",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 213,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.0845,
    "h": 254.4
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#2D517D
secondary
#AC875A
accent
#9B51D7
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D517D

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

Preview Lab → · Contrast checker → · Palette generator →

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