#2A5079#2A5079

#2A5079 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.081 H 251.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2A5079
RGBrgb(42, 80, 121)
HSLhsl(211, 48%, 32%)
HSVhsv(211, 65%, 47%)
CMYKcmyk(65.3%, 33.9%, 0%, 52.5%)
CIE-LABlab(33.16, 0.40, -27.35)
CIE-LCHlch(33.16, 27.35, 270.84°)
OKLaboklab(42.34% -0.0253 -0.0773)
OKLCHoklch(42.34% 0.081 251.9)
XYZxyz(7.2734, 7.6093, 19.1709)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5079 #79532A
analogous
#2A7879 #2A5079 #2C2A79
triadic
#2A5079 #792A50 #50792A
tetradic
#2A5079 #792A78 #79532A #2A792C
square
#2A5079 #792A78 #79532A #2A792C
split-complementary
#2A5079 #792C2A #78792A
monochromatic
#0A141E #1A324C #2A5079 #3A6EA6 #588DC5

Accessibility & contrast

On white

8.33
#2A5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5079
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5079#FFFFFF#000000##FFFFFF
##2A50791.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a5079;
/* rgb */ color: rgb(42, 80, 121);
/* oklch */ color: oklch(42.3% 0.081 251.9);
Tailwind
colors: {
  custom: {
    50: '#6c80a0',
    500: '#2a5079',
    950: '#000000',
  },
}
SCSS
$custom: #2a5079;
$custom-light: #6c80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5079",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 211.139,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42336,
    "c": 0.08134,
    "h": 251.9
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#2A5079
secondary
#AB8154
accent
#9650D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A5079

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

Preview Lab → · Contrast checker → · Palette generator →

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