#2A6874#2A6874

#2A6874 is a mid, moderate teal. Relative luminance 0.117; OKLCH L 48.2% C 0.066 H 212.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2A6874
RGBrgb(42, 104, 116)
HSLhsl(190, 47%, 31%)
HSVhsv(190, 64%, 45%)
CMYKcmyk(63.8%, 10.3%, 0%, 54.5%)
CIE-LABlab(40.66, -15.85, -12.67)
CIE-LCHlch(40.66, 20.29, 218.63°)
OKLaboklab(48.23% -0.0554 -0.0351)
OKLCHoklch(48.23% 0.066 212.4)
XYZxyz(9.0563, 11.6529, 18.2916)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6874 #74362A
analogous
#2A745B #2A6874 #2A4374
triadic
#2A6874 #742A68 #68742A
tetradic
#2A6874 #5B2A74 #74362A #43742A
square
#2A6874 #5B2A74 #74362A #43742A
split-complementary
#2A6874 #742A43 #745B2A
monochromatic
#09171A #1A4047 #2A6874 #3A90A1 #56B1C2

Accessibility & contrast

On white

6.30
#2A6874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6874
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6874#FFFFFF#000000##FFFFFF
##2A68741.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#545C74
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6874;
/* rgb */ color: rgb(42, 104, 116);
/* oklch */ color: oklch(48.2% 0.066 212.4);
Tailwind
colors: {
  custom: {
    50: '#6c939c',
    500: '#2a6874',
    950: '#000000',
  },
}
SCSS
$custom: #2a6874;
$custom-light: #6c939c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6874",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 116
  },
  "hsl": {
    "h": 189.73,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.06561,
    "h": 212.4
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#2A6874
secondary
#A66154
accent
#6751D6
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2A6874

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

Preview Lab → · Contrast checker → · Palette generator →

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