#2A5574#2A5574

#2A5574 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.3% C 0.070 H 242.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2A5574
RGBrgb(42, 85, 116)
HSLhsl(205, 47%, 31%)
HSVhsv(205, 64%, 45%)
CMYKcmyk(63.8%, 26.7%, 0%, 54.5%)
CIE-LABlab(34.50, -4.60, -22.14)
CIE-LCHlch(34.50, 22.61, 258.27°)
OKLaboklab(43.31% -0.0329 -0.0622)
OKLCHoklch(43.31% 0.07 242.1)
XYZxyz(7.3546, 8.2495, 17.7243)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5574 #74492A
analogous
#2A746E #2A5574 #2A3074
triadic
#2A5574 #742A55 #55742A
tetradic
#2A5574 #6E2A74 #74492A #30742A
square
#2A5574 #6E2A74 #74492A #30742A
split-complementary
#2A5574 #742A30 #746E2A
monochromatic
#09131A #1A3447 #2A5574 #3A76A1 #5695C2

Accessibility & contrast

On white

7.92
#2A5574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A5574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5574
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5574#FFFFFF#000000##FFFFFF
##2A55741.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475575
Deuteranopia (green-blind)
#3D4E73
Tritanopia (blue-blind)
#005D60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5574;
/* rgb */ color: rgb(42, 85, 116);
/* oklch */ color: oklch(43.3% 0.070 242.1);
Tailwind
colors: {
  custom: {
    50: '#6b849c',
    500: '#2a5574',
    950: '#000000',
  },
}
SCSS
$custom: #2a5574;
$custom-light: #6b849c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5574",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 116
  },
  "hsl": {
    "h": 205.135,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.07032,
    "h": 242.1
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#2A5574
secondary
#A67654
accent
#8951D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2A5574

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

Preview Lab → · Contrast checker → · Palette generator →

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