#2A404F#2A404F

#2A404F is a dark, muted cyan. Relative luminance 0.047; OKLCH L 36.0% C 0.038 H 239.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2A404F
RGBrgb(42, 64, 79)
HSLhsl(204, 31%, 24%)
HSVhsv(204, 47%, 31%)
CMYKcmyk(46.8%, 19%, 0%, 69%)
CIE-LABlab(25.93, -3.98, -11.77)
CIE-LCHlch(25.93, 12.43, 251.30°)
OKLaboklab(35.98% -0.0196 -0.0326)
OKLCHoklch(35.98% 0.038 239)
XYZxyz(4.1990, 4.7233, 8.0860)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A404F #4F392A
analogous
#2A4F4B #2A404F #2A2D4F
triadic
#2A404F #4F2A40 #404F2A
tetradic
#2A404F #4B2A4F #4F392A #2D4F2A
square
#2A404F #4B2A4F #4F392A #2D4F2A
split-complementary
#2A404F #4F2A2D #4F4B2A
monochromatic
#0B1014 #152027 #2A404F #3F6077 #54819F

Accessibility & contrast

On white

10.80
#2A404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A404F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A404F#FFFFFF#000000##FFFFFF
##2A404F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394050
Deuteranopia (green-blind)
#343C4F
Tritanopia (blue-blind)
#1B4445
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a404f;
/* rgb */ color: rgb(42, 64, 79);
/* oklch */ color: oklch(36.0% 0.038 239.0);
Tailwind
colors: {
  custom: {
    50: '#657480',
    500: '#2a404f',
    950: '#000000',
  },
}
SCSS
$custom: #2a404f;
$custom-light: #657480;
$custom-dark: #000000;
JSON
{
  "hex": "#2a404f",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 204.324,
    "s": 30.579,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35979,
    "c": 0.038,
    "h": 239
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#2A404F
secondary
#816654
accent
#8A61C7
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #2A404F

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

Preview Lab → · Contrast checker → · Palette generator →

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