#2B517C#2B517C

#2B517C is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.084 H 252.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2B517C
RGBrgb(43, 81, 124)
HSLhsl(212, 49%, 33%)
HSVhsv(212, 65%, 49%)
CMYKcmyk(65.3%, 34.7%, 0%, 51.4%)
CIE-LABlab(33.67, 1.06, -28.39)
CIE-LCHlch(33.67, 28.41, 272.14°)
OKLaboklab(42.81% -0.0247 -0.0803)
OKLCHoklch(42.81% 0.084 252.9)
XYZxyz(7.5755, 7.8530, 20.1814)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B517C #7C562B
analogous
#2B797C #2B517C #2E2B7C
triadic
#2B517C #7C2B51 #517C2B
tetradic
#2B517C #7C2B79 #7C562B #2B7C2E
square
#2B517C #7C2B79 #7C562B #2B7C2E
split-complementary
#2B517C #7C2E2B #797C2B
monochromatic
#0B1621 #1B334F #2B517C #3B6FA9 #5B8DC6

Accessibility & contrast

On white

8.17
#2B517C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B517C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B517C
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B517C#FFFFFF#000000##FFFFFF
##2B517C1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b517c;
/* rgb */ color: rgb(43, 81, 124);
/* oklch */ color: oklch(42.8% 0.084 252.9);
Tailwind
colors: {
  custom: {
    50: '#6d81a2',
    500: '#2b517c',
    950: '#000000',
  },
}
SCSS
$custom: #2b517c;
$custom-light: #6d81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b517c",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 211.852,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.08403,
    "h": 252.9
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#2B517C
secondary
#AC8457
accent
#9850D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2B517C

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

Preview Lab → · Contrast checker → · Palette generator →

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