#2B517A#2B517A

#2B517A is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.081 H 251.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2B517A
RGBrgb(43, 81, 122)
HSLhsl(211, 48%, 32%)
HSVhsv(211, 65%, 48%)
CMYKcmyk(64.8%, 33.6%, 0%, 52.2%)
CIE-LABlab(33.57, 0.32, -27.31)
CIE-LCHlch(33.57, 27.31, 270.68°)
OKLaboklab(42.69% -0.0253 -0.0772)
OKLCHoklch(42.69% 0.081 251.8)
XYZxyz(7.4503, 7.8029, 19.5221)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B517A #7A542B
analogous
#2B797A #2B517A #2C2B7A
triadic
#2B517A #7A2B51 #517A2B
tetradic
#2B517A #7A2B79 #7A542B #2B7A2C
square
#2B517A #7A2B79 #7A542B #2B7A2C
split-complementary
#2B517A #7A2C2B #797A2B
monochromatic
#0B151F #1B334D #2B517A #3B6FA7 #5A8EC5

Accessibility & contrast

On white

8.20
#2B517A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B517A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B517A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B517A#FFFFFF#000000##FFFFFF
##2B517A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#354C79
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b517a;
/* rgb */ color: rgb(43, 81, 122);
/* oklch */ color: oklch(42.7% 0.081 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c81a0',
    500: '#2b517a',
    950: '#000000',
  },
}
SCSS
$custom: #2b517a;
$custom-light: #6c81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b517a",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 211.139,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.08123,
    "h": 251.8
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#2B517A
secondary
#AB8256
accent
#9650D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2B517A

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

Preview Lab → · Contrast checker → · Palette generator →

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