#2A404A#2A404A

#2A404A is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.033 H 228.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2A404A
RGBrgb(42, 64, 74)
HSLhsl(199, 28%, 23%)
HSVhsv(199, 43%, 29%)
CMYKcmyk(43.2%, 13.5%, 0%, 71%)
CIE-LABlab(25.72, -5.58, -8.80)
CIE-LCHlch(25.72, 10.42, 237.64°)
OKLaboklab(35.74% -0.0218 -0.0242)
OKLCHoklch(35.74% 0.033 228.1)
XYZxyz(4.0239, 4.6532, 7.1634)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A404A #4A342A
analogous
#2A4A44 #2A404A #2A304A
triadic
#2A404A #4A2A40 #404A2A
tetradic
#2A404A #442A4A #4A342A #304A2A
square
#2A404A #442A4A #4A342A #304A2A
split-complementary
#2A404A #4A2A30 #4A442A
monochromatic
#0B1114 #141E23 #2A404A #406271 #568498

Accessibility & contrast

On white

10.88
#2A404A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A404A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A404A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A404A#FFFFFF#000000##FFFFFF
##2A404A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F4B
Deuteranopia (green-blind)
#363B4A
Tritanopia (blue-blind)
#1E4343
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a404a;
/* rgb */ color: rgb(42, 64, 74);
/* oklch */ color: oklch(35.7% 0.033 228.1);
Tailwind
colors: {
  custom: {
    50: '#65747c',
    500: '#2a404a',
    950: '#000000',
  },
}
SCSS
$custom: #2a404a;
$custom-light: #65747c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a404a",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 74
  },
  "hsl": {
    "h": 198.75,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35745,
    "c": 0.03256,
    "h": 228.1
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#2A404A
secondary
#7C6054
accent
#8264C4
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#060809
muted
#7A7B7B

Preview Lab

Preview with #2A404A

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

Preview Lab → · Contrast checker → · Palette generator →

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