#2A515F#2A515F

#2A515F is a dark, muted cyan. Relative luminance 0.072; OKLCH L 41.2% C 0.050 H 223.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2A515F
RGBrgb(42, 81, 95)
HSLhsl(196, 39%, 27%)
HSVhsv(196, 56%, 37%)
CMYKcmyk(55.8%, 14.7%, 0%, 62.7%)
CIE-LABlab(32.26, -9.37, -12.41)
CIE-LCHlch(32.26, 15.55, 232.95°)
OKLaboklab(41.23% -0.0362 -0.0344)
OKLCHoklch(41.23% 0.05 223.5)
XYZxyz(5.9621, 7.2028, 11.9003)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A515F #5F382A
analogous
#2A5F53 #2A515F #2A375F
triadic
#2A515F #5F2A51 #515F2A
tetradic
#2A515F #532A5F #5F382A #375F2A
square
#2A515F #532A5F #5F382A #375F2A
split-complementary
#2A515F #5F2A37 #5F532A
monochromatic
#091215 #172D35 #2A515F #3D7589 #5199B2

Accessibility & contrast

On white

8.60
#2A515F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A515F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A515F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A515F#FFFFFF#000000##FFFFFF
##2A515F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#41495F
Tritanopia (blue-blind)
#085555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a515f;
/* rgb */ color: rgb(42, 81, 95);
/* oklch */ color: oklch(41.2% 0.050 223.5);
Tailwind
colors: {
  custom: {
    50: '#68818c',
    500: '#2a515f',
    950: '#000000',
  },
}
SCSS
$custom: #2a515f;
$custom-light: #68818c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a515f",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 195.849,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41231,
    "c": 0.04995,
    "h": 223.5
  },
  "luminance": 0.07203
}

Semantic roles & 50–950 ramp

primary
#2A515F
secondary
#916453
accent
#7859CF
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #2A515F

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

Preview Lab → · Contrast checker → · Palette generator →

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