#2B517F#2B517F

#2B517F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.088 H 254.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2B517F
RGBrgb(43, 81, 127)
HSLhsl(213, 49%, 33%)
HSVhsv(213, 66%, 50%)
CMYKcmyk(66.1%, 36.2%, 0%, 50.2%)
CIE-LABlab(33.84, 2.17, -29.99)
CIE-LCHlch(33.84, 30.06, 274.14°)
OKLaboklab(42.99% -0.0238 -0.085)
OKLCHoklch(42.99% 0.088 254.3)
XYZxyz(7.7681, 7.9300, 21.1958)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B517F #7F592B
analogous
#2B7B7F #2B517F #2F2B7F
triadic
#2B517F #7F2B51 #517F2B
tetradic
#2B517F #7F2B7B #7F592B #2B7F2F
square
#2B517F #7F2B7B #7F592B #2B7F2F
split-complementary
#2B517F #7F2F2B #7B7F2B
monochromatic
#0C1724 #1C3451 #2B517F #3A6EAD #5C8DC8

Accessibility & contrast

On white

8.12
#2B517F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B517F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B517F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B517F#FFFFFF#000000##FFFFFF
##2B517F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.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: #2b517f;
/* rgb */ color: rgb(43, 81, 127);
/* oklch */ color: oklch(43.0% 0.088 254.3);
Tailwind
colors: {
  custom: {
    50: '#6d81a4',
    500: '#2b517f',
    950: '#000000',
  },
}
SCSS
$custom: #2b517f;
$custom-light: #6d81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b517f",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 212.857,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42987,
    "c": 0.08827,
    "h": 254.3
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B517F

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

Preview Lab → · Contrast checker → · Palette generator →

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