#2A5676#2A5676

#2A5676 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.7% C 0.072 H 242.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2A5676
RGBrgb(42, 86, 118)
HSLhsl(205, 48%, 31%)
HSVhsv(205, 64%, 46%)
CMYKcmyk(64.4%, 27.1%, 0%, 53.7%)
CIE-LABlab(34.91, -4.51, -22.73)
CIE-LCHlch(34.91, 23.17, 258.79°)
OKLaboklab(43.67% -0.0333 -0.0639)
OKLCHoklch(43.67% 0.072 242.4)
XYZxyz(7.5514, 8.4551, 18.3701)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5676 #764A2A
analogous
#2A7670 #2A5676 #2A3076
triadic
#2A5676 #762A56 #56762A
tetradic
#2A5676 #702A76 #764A2A #30762A
square
#2A5676 #702A76 #764A2A #30762A
split-complementary
#2A5676 #762A30 #76702A
monochromatic
#0A141C #1A3549 #2A5676 #3A77A3 #5796C3

Accessibility & contrast

On white

7.80
#2A5676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A5676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5676
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5676#FFFFFF#000000##FFFFFF
##2A56761.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485677
Deuteranopia (green-blind)
#3D4F75
Tritanopia (blue-blind)
#005E61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a5676;
/* rgb */ color: rgb(42, 86, 118);
/* oklch */ color: oklch(43.7% 0.072 242.4);
Tailwind
colors: {
  custom: {
    50: '#6b859d',
    500: '#2a5676',
    950: '#000000',
  },
}
SCSS
$custom: #2a5676;
$custom-light: #6b859d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5676",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 118
  },
  "hsl": {
    "h": 205.263,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43671,
    "c": 0.07205,
    "h": 242.4
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#2A5676
secondary
#A87754
accent
#8951D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5676

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

Preview Lab → · Contrast checker → · Palette generator →

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