#2A4751#2A4751

#2A4751 is a dark, muted cyan. Relative luminance 0.056; OKLCH L 37.9% C 0.039 H 221.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2A4751
RGBrgb(42, 71, 81)
HSLhsl(195, 32%, 24%)
HSVhsv(195, 48%, 32%)
CMYKcmyk(48.1%, 12.3%, 0%, 68.2%)
CIE-LABlab(28.36, -7.78, -9.38)
CIE-LCHlch(28.36, 12.18, 230.33°)
OKLaboklab(37.93% -0.0288 -0.0259)
OKLCHoklch(37.93% 0.039 221.9)
XYZxyz(4.6928, 5.5925, 8.6152)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4751 #51342A
analogous
#2A5148 #2A4751 #2A3451
triadic
#2A4751 #512A47 #47512A
tetradic
#2A4751 #482A51 #51342A #34512A
square
#2A4751 #482A51 #51342A #34512A
split-complementary
#2A4751 #512A34 #51482A
monochromatic
#0A1214 #152429 #2A4751 #3F6A79 #548EA2

Accessibility & contrast

On white

9.91
#2A4751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A4751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4751
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4751#FFFFFF#000000##FFFFFF
##2A47511.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414552
Deuteranopia (green-blind)
#3B4151
Tritanopia (blue-blind)
#194A4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4751;
/* rgb */ color: rgb(42, 71, 81);
/* oklch */ color: oklch(37.9% 0.039 221.9);
Tailwind
colors: {
  custom: {
    50: '#667a81',
    500: '#2a4751',
    950: '#000000',
  },
}
SCSS
$custom: #2a4751;
$custom-light: #667a81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4751",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 195.385,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.37933,
    "c": 0.03871,
    "h": 221.9
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#2A4751
secondary
#836054
accent
#7B60C8
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#06090A
muted
#7A7B7C

Preview Lab

Preview with #2A4751

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

Preview Lab → · Contrast checker → · Palette generator →

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