#2A5374#2A5374

#2A5374 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.072 H 244.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2A5374
RGBrgb(42, 83, 116)
HSLhsl(207, 47%, 31%)
HSVhsv(207, 64%, 45%)
CMYKcmyk(63.8%, 28.4%, 0%, 54.5%)
CIE-LABlab(33.86, -3.34, -23.14)
CIE-LCHlch(33.86, 23.38, 261.78°)
OKLaboklab(42.8% -0.0305 -0.0651)
OKLCHoklch(42.8% 0.072 244.9)
XYZxyz(7.1993, 7.9390, 17.6726)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5374 #744B2A
analogous
#2A7470 #2A5374 #2A2E74
triadic
#2A5374 #742A53 #53742A
tetradic
#2A5374 #702A74 #744B2A #2E742A
square
#2A5374 #702A74 #744B2A #2E742A
split-complementary
#2A5374 #742A2E #74702A
monochromatic
#09131A #1A3347 #2A5374 #3A73A1 #5692C2

Accessibility & contrast

On white

8.11
#2A5374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A5374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5374
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5374#FFFFFF#000000##FFFFFF
##2A53741.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455475
Deuteranopia (green-blind)
#3B4C73
Tritanopia (blue-blind)
#005B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5374;
/* rgb */ color: rgb(42, 83, 116);
/* oklch */ color: oklch(42.8% 0.072 244.9);
Tailwind
colors: {
  custom: {
    50: '#6b839c',
    500: '#2a5374',
    950: '#000000',
  },
}
SCSS
$custom: #2a5374;
$custom-light: #6b839c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5374",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 116
  },
  "hsl": {
    "h": 206.757,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.07186,
    "h": 244.9
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#2A5374
secondary
#A67854
accent
#8D51D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5374

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

Preview Lab → · Contrast checker → · Palette generator →

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