#2A4758#2A4758

#2A4758 is a dark, muted cyan. Relative luminance 0.057; OKLCH L 38.3% C 0.045 H 235.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2A4758
RGBrgb(42, 71, 88)
HSLhsl(202, 35%, 25%)
HSVhsv(202, 52%, 35%)
CMYKcmyk(52.3%, 19.3%, 0%, 65.5%)
CIE-LABlab(28.65, -5.50, -13.46)
CIE-LCHlch(28.65, 14.54, 247.78°)
OKLaboklab(38.26% -0.0258 -0.0374)
OKLCHoklch(38.26% 0.045 235.4)
XYZxyz(4.9689, 5.7029, 10.0696)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4758 #583B2A
analogous
#2A5852 #2A4758 #2A3058
triadic
#2A4758 #582A47 #47582A
tetradic
#2A4758 #522A58 #583B2A #30582A
square
#2A4758 #522A58 #583B2A #30582A
split-complementary
#2A4758 #582A30 #58522A
monochromatic
#0A1115 #16262F #2A4758 #3E6881 #528AAB

Accessibility & contrast

On white

9.81
#2A4758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A4758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4758
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4758#FFFFFF#000000##FFFFFF
##2A47581.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#394158
Tritanopia (blue-blind)
#144B4D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4758;
/* rgb */ color: rgb(42, 71, 88);
/* oklch */ color: oklch(38.3% 0.045 235.4);
Tailwind
colors: {
  custom: {
    50: '#677a87',
    500: '#2a4758',
    950: '#000000',
  },
}
SCSS
$custom: #2a4758;
$custom-light: #677a87;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4758",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 88
  },
  "hsl": {
    "h": 202.174,
    "s": 35.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.04539,
    "h": 235.4
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#2A4758
secondary
#8A6853
accent
#855CCB
background
#F6F7F8
surface
#EBEDEF
border
#C6C8CA
text
#06090B
muted
#7A7B7C

Preview Lab

Preview with #2A4758

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

Preview Lab → · Contrast checker → · Palette generator →

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