#2A5476#2A5476

#2A5476 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.2% C 0.074 H 245.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2A5476
RGBrgb(42, 84, 118)
HSLhsl(207, 48%, 31%)
HSVhsv(207, 64%, 46%)
CMYKcmyk(64.4%, 28.8%, 0%, 53.7%)
CIE-LABlab(34.27, -3.25, -23.73)
CIE-LCHlch(34.27, 23.95, 262.20°)
OKLaboklab(43.17% -0.031 -0.0668)
OKLCHoklch(43.17% 0.074 245.1)
XYZxyz(7.3940, 8.1402, 18.3176)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5476 #764C2A
analogous
#2A7672 #2A5476 #2A2E76
triadic
#2A5476 #762A54 #54762A
tetradic
#2A5476 #722A76 #764C2A #2E762A
square
#2A5476 #722A76 #764C2A #2E762A
split-complementary
#2A5476 #762A2E #76722A
monochromatic
#0A141C #1A3449 #2A5476 #3A74A3 #5793C3

Accessibility & contrast

On white

7.99
#2A5476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A5476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5476
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5476#FFFFFF#000000##FFFFFF
##2A54761.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455578
Deuteranopia (green-blind)
#3B4D75
Tritanopia (blue-blind)
#005C60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5476;
/* rgb */ color: rgb(42, 84, 118);
/* oklch */ color: oklch(43.2% 0.074 245.1);
Tailwind
colors: {
  custom: {
    50: '#6b849d',
    500: '#2a5476',
    950: '#000000',
  },
}
SCSS
$custom: #2a5476;
$custom-light: #6b849d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5476",
  "rgb": {
    "r": 42,
    "g": 84,
    "b": 118
  },
  "hsl": {
    "h": 206.842,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.07361,
    "h": 245.1
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#2A5476
secondary
#A87954
accent
#8D51D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5476

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

Preview Lab → · Contrast checker → · Palette generator →

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