#2B517E#2B517E

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

Color values

HEX#2B517E
RGBrgb(43, 81, 126)
HSLhsl(213, 49%, 33%)
HSVhsv(213, 66%, 49%)
CMYKcmyk(65.9%, 35.7%, 0%, 50.6%)
CIE-LABlab(33.78, 1.80, -29.45)
CIE-LCHlch(33.78, 29.51, 273.50°)
OKLaboklab(42.93% -0.0241 -0.0834)
OKLCHoklch(42.93% 0.087 253.9)
XYZxyz(7.7032, 7.9041, 20.8543)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B517E #7E582B
analogous
#2B7A7E #2B517E #2E2B7E
triadic
#2B517E #7E2B51 #517E2B
tetradic
#2B517E #7E2B7A #7E582B #2B7E2E
square
#2B517E #7E2B7A #7E582B #2B7E2E
split-complementary
#2B517E #7E2E2B #7A7E2B
monochromatic
#0C1623 #1B3450 #2B517E #3B6EAC #5C8DC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B517E#FFFFFF#000000##FFFFFF
##2B517E1.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)
#3E5480
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b517e;
/* rgb */ color: rgb(43, 81, 126);
/* oklch */ color: oklch(42.9% 0.087 253.9);
Tailwind
colors: {
  custom: {
    50: '#6d81a3',
    500: '#2b517e',
    950: '#000000',
  },
}
SCSS
$custom: #2b517e;
$custom-light: #6d81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b517e",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 212.53,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.08685,
    "h": 253.9
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#2B517E
secondary
#AD8658
accent
#9A4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B517E

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

Preview Lab → · Contrast checker → · Palette generator →

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