#2A4151#2A4151

#2A4151 is a dark, muted cyan. Relative luminance 0.049; OKLCH L 36.3% C 0.040 H 239.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2A4151
RGBrgb(42, 65, 81)
HSLhsl(205, 32%, 24%)
HSVhsv(205, 48%, 32%)
CMYKcmyk(48.1%, 19.8%, 0%, 68.2%)
CIE-LABlab(26.35, -3.98, -12.44)
CIE-LCHlch(26.35, 13.06, 252.27°)
OKLaboklab(36.34% -0.0202 -0.0345)
OKLCHoklch(36.34% 0.04 239.6)
XYZxyz(4.3298, 4.8666, 8.4942)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4151 #513A2A
analogous
#2A514E #2A4151 #2A2E51
triadic
#2A4151 #512A41 #41512A
tetradic
#2A4151 #4E2A51 #513A2A #2E512A
square
#2A4151 #4E2A51 #513A2A #2E512A
split-complementary
#2A4151 #512A2E #514E2A
monochromatic
#0A1014 #152129 #2A4151 #3F6179 #5482A2

Accessibility & contrast

On white

10.64
#2A4151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A4151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4151
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4151#FFFFFF#000000##FFFFFF
##2A41511.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#353D51
Tritanopia (blue-blind)
#1A4546
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4151;
/* rgb */ color: rgb(42, 65, 81);
/* oklch */ color: oklch(36.3% 0.040 239.6);
Tailwind
colors: {
  custom: {
    50: '#667581',
    500: '#2a4151',
    950: '#000000',
  },
}
SCSS
$custom: #2a4151;
$custom-light: #667581;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4151",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 204.615,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.03994,
    "h": 239.6
  },
  "luminance": 0.04867
}

Semantic roles & 50–950 ramp

primary
#2A4151
secondary
#836754
accent
#8B60C8
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06080A
muted
#7A7B7C

Preview Lab

Preview with #2A4151

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

Preview Lab → · Contrast checker → · Palette generator →

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