#2A516F#2A516F

#2A516F is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.0% C 0.067 H 243.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2A516F
RGBrgb(42, 81, 111)
HSLhsl(206, 45%, 30%)
HSVhsv(206, 62%, 44%)
CMYKcmyk(62.2%, 27%, 0%, 56.5%)
CIE-LABlab(32.97, -3.87, -21.39)
CIE-LCHlch(32.97, 21.74, 259.75°)
OKLaboklab(42.03% -0.0298 -0.06)
OKLCHoklch(42.03% 0.067 243.6)
XYZxyz(6.7655, 7.5242, 16.1316)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A516F #6F482A
analogous
#2A6F6B #2A516F #2A2E6F
triadic
#2A516F #6F2A51 #516F2A
tetradic
#2A516F #6B2A6F #6F482A #2E6F2A
square
#2A516F #6B2A6F #6F482A #2E6F2A
split-complementary
#2A516F #6F2A2E #6F6B2A
monochromatic
#081016 #193143 #2A516F #3B719B #5591BF

Accessibility & contrast

On white

8.38
#2A516F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A516F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A516F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A516F#FFFFFF#000000##FFFFFF
##2A516F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445170
Deuteranopia (green-blind)
#3B4A6E
Tritanopia (blue-blind)
#00585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a516f;
/* rgb */ color: rgb(42, 81, 111);
/* oklch */ color: oklch(42.0% 0.067 243.6);
Tailwind
colors: {
  custom: {
    50: '#6a8198',
    500: '#2a516f',
    950: '#000000',
  },
}
SCSS
$custom: #2a516f;
$custom-light: #6a8198;
$custom-dark: #000000;
JSON
{
  "hex": "#2a516f",
  "rgb": {
    "r": 42,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 206.087,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.06705,
    "h": 243.6
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#2A516F
secondary
#A17554
accent
#8B53D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2A516F

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

Preview Lab → · Contrast checker → · Palette generator →

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