#2A6873#2A6873

#2A6873 is a mid, moderate teal. Relative luminance 0.116; OKLCH L 48.2% C 0.065 H 211.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2A6873
RGBrgb(42, 104, 115)
HSLhsl(189, 46%, 31%)
HSVhsv(189, 63%, 45%)
CMYKcmyk(63.5%, 9.6%, 0%, 54.9%)
CIE-LABlab(40.62, -16.18, -12.12)
CIE-LCHlch(40.62, 20.21, 216.83°)
OKLaboklab(48.18% -0.0559 -0.0336)
OKLCHoklch(48.18% 0.065 211)
XYZxyz(8.9984, 11.6298, 17.9869)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6873 #73352A
analogous
#2A7359 #2A6873 #2A4373
triadic
#2A6873 #732A68 #68732A
tetradic
#2A6873 #592A73 #73352A #43732A
square
#2A6873 #592A73 #73352A #43732A
split-complementary
#2A6873 #732A43 #73592A
monochromatic
#091719 #1A3F46 #2A6873 #3A91A0 #56B1C1

Accessibility & contrast

On white

6.31
#2A6873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2A6873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6873
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6873#FFFFFF#000000##FFFFFF
##2A68731.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6474
Deuteranopia (green-blind)
#545C73
Tritanopia (blue-blind)
#006D6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6873;
/* rgb */ color: rgb(42, 104, 115);
/* oklch */ color: oklch(48.2% 0.065 211.0);
Tailwind
colors: {
  custom: {
    50: '#6c939b',
    500: '#2a6873',
    950: '#000000',
  },
}
SCSS
$custom: #2a6873;
$custom-light: #6c939b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6873",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 115
  },
  "hsl": {
    "h": 189.041,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48182,
    "c": 0.06518,
    "h": 211
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#2A6873
secondary
#A56054
accent
#6652D6
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2A6873

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

Preview Lab → · Contrast checker → · Palette generator →

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