#2A516B#2A516B

#2A516B is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.062 H 239.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A516B
RGBrgb(42, 81, 107)
HSLhsl(204, 44%, 29%)
HSVhsv(204, 61%, 42%)
CMYKcmyk(60.7%, 24.3%, 0%, 58%)
CIE-LABlab(32.78, -5.28, -19.18)
CIE-LCHlch(32.78, 19.89, 254.60°)
OKLaboklab(41.82% -0.0313 -0.0537)
OKLCHoklch(41.82% 0.062 239.7)
XYZxyz(6.5501, 7.4380, 14.9976)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A516B #6B442A
analogous
#2A6B65 #2A516B #2A316B
triadic
#2A516B #6B2A51 #516B2A
tetradic
#2A516B #652A6B #6B442A #316B2A
square
#2A516B #652A6B #6B442A #316B2A
split-complementary
#2A516B #6B2A31 #6B652A
monochromatic
#091116 #19303F #2A516B #3B7297 #5492BC

Accessibility & contrast

On white

8.44
#2A516B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A516B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A516B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A516B#FFFFFF#000000##FFFFFF
##2A516B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516C
Deuteranopia (green-blind)
#3C4A6B
Tritanopia (blue-blind)
#00585A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a516b;
/* rgb */ color: rgb(42, 81, 107);
/* oklch */ color: oklch(41.8% 0.062 239.7);
Tailwind
colors: {
  custom: {
    50: '#6a8195',
    500: '#2a516b',
    950: '#000000',
  },
}
SCSS
$custom: #2a516b;
$custom-light: #6a8195;
$custom-dark: #000000;
JSON
{
  "hex": "#2a516b",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 107
  },
  "hsl": {
    "h": 204,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.06214,
    "h": 239.7
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#2A516B
secondary
#9D7154
accent
#8754D3
background
#F6F7F9
surface
#EBEEF1
border
#C6C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A516B

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

Preview Lab → · Contrast checker → · Palette generator →

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