#2A474F#2A474F

#2A474F is a dark, muted cyan. Relative luminance 0.056; OKLCH L 37.8% C 0.037 H 217.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2A474F
RGBrgb(42, 71, 79)
HSLhsl(193, 31%, 24%)
HSVhsv(193, 47%, 31%)
CMYKcmyk(46.8%, 10.1%, 0%, 69%)
CIE-LABlab(28.28, -8.41, -8.20)
CIE-LCHlch(28.28, 11.75, 224.28°)
OKLaboklab(37.85% -0.0297 -0.0226)
OKLCHoklch(37.85% 0.037 217.2)
XYZxyz(4.6189, 5.5629, 8.2260)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A474F #4F322A
analogous
#2A4F44 #2A474F #2A344F
triadic
#2A474F #4F2A47 #474F2A
tetradic
#2A474F #442A4F #4F322A #344F2A
square
#2A474F #442A4F #4F322A #344F2A
split-complementary
#2A474F #4F2A34 #4F442A
monochromatic
#0B1214 #152327 #2A474F #3F6B77 #548F9F

Accessibility & contrast

On white

9.94
#2A474F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A474F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A474F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A474F#FFFFFF#000000##FFFFFF
##2A474F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454F
Deuteranopia (green-blind)
#3C414F
Tritanopia (blue-blind)
#1A4A49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a474f;
/* rgb */ color: rgb(42, 71, 79);
/* oklch */ color: oklch(37.8% 0.037 217.2);
Tailwind
colors: {
  custom: {
    50: '#667a80',
    500: '#2a474f',
    950: '#000000',
  },
}
SCSS
$custom: #2a474f;
$custom-light: #667a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a474f",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 79
  },
  "hsl": {
    "h": 192.973,
    "s": 30.579,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37845,
    "c": 0.03731,
    "h": 217.2
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#2A474F
secondary
#815D54
accent
#7761C7
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #2A474F

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

Preview Lab → · Contrast checker → · Palette generator →

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