#2A6079#2A6079

#2A6079 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.070 H 231.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2A6079
RGBrgb(42, 96, 121)
HSLhsl(199, 48%, 32%)
HSVhsv(199, 65%, 47%)
CMYKcmyk(65.3%, 20.7%, 0%, 52.5%)
CIE-LABlab(38.27, -9.54, -19.38)
CIE-LCHlch(38.27, 21.60, 243.79°)
OKLaboklab(46.38% -0.0439 -0.0542)
OKLCHoklch(46.38% 0.07 231)
XYZxyz(8.5876, 10.2376, 19.6089)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6079 #79432A
analogous
#2A796B #2A6079 #2A3979
triadic
#2A6079 #792A60 #60792A
tetradic
#2A6079 #6B2A79 #79432A #39792A
square
#2A6079 #6B2A79 #79432A #39792A
split-complementary
#2A6079 #792A39 #796B2A
monochromatic
#0A181E #1A3C4C #2A6079 #3A84A6 #58A3C5

Accessibility & contrast

On white

6.89
#2A6079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2A6079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6079
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6079#FFFFFF#000000##FFFFFF
##2A60791.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7A
Deuteranopia (green-blind)
#485779
Tritanopia (blue-blind)
#006768
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a6079;
/* rgb */ color: rgb(42, 96, 121);
/* oklch */ color: oklch(46.4% 0.070 231.0);
Tailwind
colors: {
  custom: {
    50: '#6c8d9f',
    500: '#2a6079',
    950: '#000000',
  },
}
SCSS
$custom: #2a6079;
$custom-light: #6c8d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6079",
  "rgb": {
    "r": 42,
    "g": 96,
    "b": 121
  },
  "hsl": {
    "h": 198.987,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.06977,
    "h": 231
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#2A6079
secondary
#AB7054
accent
#7B50D8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A6079

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

Preview Lab → · Contrast checker → · Palette generator →

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