#2A4E77#2A4E77

#2A4E77 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.081 H 253.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2A4E77
RGBrgb(42, 78, 119)
HSLhsl(212, 48%, 32%)
HSVhsv(212, 65%, 47%)
CMYKcmyk(64.7%, 34.5%, 0%, 53.3%)
CIE-LABlab(32.42, 0.96, -27.26)
CIE-LCHlch(32.42, 27.28, 272.01°)
OKLaboklab(41.72% -0.0236 -0.0771)
OKLCHoklch(41.72% 0.081 253)
XYZxyz(7.0078, 7.2723, 18.4836)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E77 #77532A
analogous
#2A7577 #2A4E77 #2D2A77
triadic
#2A4E77 #772A4E #4E772A
tetradic
#2A4E77 #772A75 #77532A #2A772D
square
#2A4E77 #772A75 #77532A #2A772D
split-complementary
#2A4E77 #772D2A #75772A
monochromatic
#0A131D #1A304A #2A4E77 #3A6CA4 #588AC4

Accessibility & contrast

On white

8.56
#2A4E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2A4E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E77
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E77#FFFFFF#000000##FFFFFF
##2A4E771.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5079
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e77;
/* rgb */ color: rgb(42, 78, 119);
/* oklch */ color: oklch(41.7% 0.081 253.0);
Tailwind
colors: {
  custom: {
    50: '#6b7f9e',
    500: '#2a4e77',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e77;
$custom-light: #6b7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e77",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 211.948,
    "s": 47.826,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.08062,
    "h": 253
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#2A4E77
secondary
#A98154
accent
#9850D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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