#2D517F#2D517F

#2D517F is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.087 H 255.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2D517F
RGBrgb(45, 81, 127)
HSLhsl(214, 48%, 34%)
HSVhsv(214, 65%, 50%)
CMYKcmyk(64.6%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.93, 2.57, -29.83)
CIE-LCHlch(33.93, 29.94, 274.92°)
OKLaboklab(43.09% -0.0221 -0.0845)
OKLCHoklch(43.09% 0.087 255.3)
XYZxyz(7.8540, 7.9743, 21.1999)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D517F #7F5B2D
analogous
#2D7A7F #2D517F #322D7F
triadic
#2D517F #7F2D51 #517F2D
tetradic
#2D517F #7F2D7A #7F5B2D #2D7F32
square
#2D517F #7F2D7A #7F5B2D #2D7F32
split-complementary
#2D517F #7F322D #7A7F2D
monochromatic
#0D1725 #1D3452 #2D517F #3D6EAC #608DC7

Accessibility & contrast

On white

8.09
#2D517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2D517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D517F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D517F#FFFFFF#000000##FFFFFF
##2D517F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d517f;
/* rgb */ color: rgb(45, 81, 127);
/* oklch */ color: oklch(43.1% 0.087 255.3);
Tailwind
colors: {
  custom: {
    50: '#6e81a4',
    500: '#2d517f',
    950: '#000000',
  },
}
SCSS
$custom: #2d517f;
$custom-light: #6e81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d517f",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 213.659,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.08735,
    "h": 255.3
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#2D517F
secondary
#AD895B
accent
#9C51D7
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D517F

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

Preview Lab → · Contrast checker → · Palette generator →

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