#2B517D#2B517D

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

Color values

HEX#2B517D
RGBrgb(43, 81, 125)
HSLhsl(212, 49%, 33%)
HSVhsv(212, 66%, 49%)
CMYKcmyk(65.6%, 35.2%, 0%, 51%)
CIE-LABlab(33.73, 1.43, -28.92)
CIE-LCHlch(33.73, 28.96, 272.83°)
OKLaboklab(42.87% -0.0244 -0.0819)
OKLCHoklch(42.87% 0.085 253.4)
XYZxyz(7.6390, 7.8784, 20.5162)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B517D #7D572B
analogous
#2B7A7D #2B517D #2E2B7D
triadic
#2B517D #7D2B51 #517D2B
tetradic
#2B517D #7D2B7A #7D572B #2B7D2E
square
#2B517D #7D2B7A #7D572B #2B7D2E
split-complementary
#2B517D #7D2E2B #7A7D2B
monochromatic
#0C1622 #1B334F #2B517D #3B6FAB #5C8DC7

Accessibility & contrast

On white

8.15
#2B517D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B517D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B517D#FFFFFF#000000##FFFFFF
##2B517D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b517d;
/* rgb */ color: rgb(43, 81, 125);
/* oklch */ color: oklch(42.9% 0.085 253.4);
Tailwind
colors: {
  custom: {
    50: '#6d81a3',
    500: '#2b517d',
    950: '#000000',
  },
}
SCSS
$custom: #2b517d;
$custom-light: #6d81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b517d",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 212.195,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.08544,
    "h": 253.4
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#2B517D
secondary
#AD8557
accent
#994FD8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2B517D

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

Preview Lab → · Contrast checker → · Palette generator →

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