#2D517C#2D517C

#2D517C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.9% C 0.083 H 253.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2D517C
RGBrgb(45, 81, 124)
HSLhsl(213, 47%, 33%)
HSVhsv(213, 64%, 49%)
CMYKcmyk(63.7%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.77, 1.47, -28.23)
CIE-LCHlch(33.77, 28.27, 272.98°)
OKLaboklab(42.91% -0.023 -0.0798)
OKLCHoklch(42.91% 0.083 253.9)
XYZxyz(7.6614, 7.8973, 20.1855)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D517C #7C582D
analogous
#2D787C #2D517C #302D7C
triadic
#2D517C #7C2D51 #517C2D
tetradic
#2D517C #7C2D78 #7C582D #2D7C30
square
#2D517C #7C2D78 #7C582D #2D7C30
split-complementary
#2D517C #7C302D #787C2D
monochromatic
#0C1622 #1D344F #2D517C #3D6EA9 #5F8DC5

Accessibility & contrast

On white

8.14
#2D517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D517C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D517C#FFFFFF#000000##FFFFFF
##2D517C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d517c;
/* rgb */ color: rgb(45, 81, 124);
/* oklch */ color: oklch(42.9% 0.083 253.9);
Tailwind
colors: {
  custom: {
    50: '#6e81a2',
    500: '#2d517c',
    950: '#000000',
  },
}
SCSS
$custom: #2d517c;
$custom-light: #6e81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d517c",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 212.658,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42906,
    "c": 0.08308,
    "h": 253.9
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#2D517C
secondary
#AB865A
accent
#9A51D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D517C

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

Preview Lab → · Contrast checker → · Palette generator →

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