#2A4E79#2A4E79

#2A4E79 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.083 H 254.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2A4E79
RGBrgb(42, 78, 121)
HSLhsl(213, 48%, 32%)
HSVhsv(213, 65%, 47%)
CMYKcmyk(65.3%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.53, 1.70, -28.34)
CIE-LCHlch(32.53, 28.39, 273.43°)
OKLaboklab(41.84% -0.023 -0.0802)
OKLCHoklch(41.84% 0.083 254)
XYZxyz(7.1292, 7.3208, 19.1228)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E79 #79552A
analogous
#2A7679 #2A4E79 #2E2A79
triadic
#2A4E79 #792A4E #4E792A
tetradic
#2A4E79 #792A76 #79552A #2A792E
square
#2A4E79 #792A76 #79552A #2A792E
split-complementary
#2A4E79 #792E2A #76792A
monochromatic
#0A131E #1A314C #2A4E79 #3A6BA6 #588AC5

Accessibility & contrast

On white

8.52
#2A4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E79
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E79#FFFFFF#000000##FFFFFF
##2A4E791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e79;
/* rgb */ color: rgb(42, 78, 121);
/* oklch */ color: oklch(41.8% 0.083 254.0);
Tailwind
colors: {
  custom: {
    50: '#6c7fa0',
    500: '#2a4e79',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e79;
$custom-light: #6c7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e79",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 212.658,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.08345,
    "h": 254
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#2A4E79
secondary
#AB8354
accent
#9A50D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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