#2A4D79#2A4D79

#2A4D79 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.085 H 255.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4D79
RGBrgb(42, 77, 121)
HSLhsl(213, 48%, 32%)
HSVhsv(213, 65%, 47%)
CMYKcmyk(65.3%, 36.4%, 0%, 52.5%)
CIE-LABlab(32.21, 2.35, -28.83)
CIE-LCHlch(32.21, 28.93, 274.67°)
OKLaboklab(41.6% -0.0218 -0.0817)
OKLCHoklch(41.6% 0.085 255)
XYZxyz(7.0587, 7.1798, 19.0993)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D79 #79562A
analogous
#2A7579 #2A4D79 #2F2A79
triadic
#2A4D79 #792A4D #4D792A
tetradic
#2A4D79 #792A75 #79562A #2A792F
square
#2A4D79 #792A75 #79562A #2A792F
split-complementary
#2A4D79 #792F2A #75792A
monochromatic
#0A131E #1A304C #2A4D79 #3A6AA6 #5888C5

Accessibility & contrast

On white

8.62
#2A4D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A4D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D79
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D79#FFFFFF#000000##FFFFFF
##2A4D791.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4d79;
/* rgb */ color: rgb(42, 77, 121);
/* oklch */ color: oklch(41.6% 0.085 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ea0',
    500: '#2a4d79',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d79;
$custom-light: #6c7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d79",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 213.418,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.08455,
    "h": 255
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#2A4D79
secondary
#AB8454
accent
#9C50D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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