#2A4E52#2A4E52

#2A4E52 is a dark, muted teal. Relative luminance 0.066; OKLCH L 39.9% C 0.042 H 204.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2A4E52
RGBrgb(42, 78, 82)
HSLhsl(186, 32%, 24%)
HSVhsv(186, 49%, 32%)
CMYKcmyk(48.8%, 4.9%, 0%, 67.8%)
CIE-LABlab(30.76, -11.72, -6.41)
CIE-LCHlch(30.76, 13.35, 208.68°)
OKLaboklab(39.86% -0.0381 -0.0176)
OKLCHoklch(39.86% 0.042 204.8)
XYZxyz(5.2016, 6.5498, 8.9711)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E52 #522E2A
analogous
#2A5242 #2A4E52 #2A3A52
triadic
#2A4E52 #522A4E #4E522A
tetradic
#2A4E52 #422A52 #522E2A #3A522A
square
#2A4E52 #422A52 #522E2A #3A522A
split-complementary
#2A4E52 #522A3A #52422A
monochromatic
#0A1314 #15282A #2A4E52 #3F747A #539BA3

Accessibility & contrast

On white

9.09
#2A4E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A4E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E52
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E52#FFFFFF#000000##FFFFFF
##2A4E521.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B52
Deuteranopia (green-blind)
#424652
Tritanopia (blue-blind)
#16514F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4e52;
/* rgb */ color: rgb(42, 78, 82);
/* oklch */ color: oklch(39.9% 0.042 204.8);
Tailwind
colors: {
  custom: {
    50: '#677f82',
    500: '#2a4e52',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e52;
$custom-light: #677f82;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e52",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 82
  },
  "hsl": {
    "h": 186,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.042,
    "h": 204.8
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#2A4E52
secondary
#845854
accent
#6A5FC8
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A0A
muted
#7A7C7C

Preview Lab

Preview with #2A4E52

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

Preview Lab → · Contrast checker → · Palette generator →

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