#2A4A76#2A4A76

#2A4A76 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.084 H 256.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2A4A76
RGBrgb(42, 74, 118)
HSLhsl(215, 48%, 31%)
HSVhsv(215, 64%, 46%)
CMYKcmyk(64.4%, 37.3%, 0%, 53.7%)
CIE-LABlab(31.11, 3.21, -28.70)
CIE-LCHlch(31.11, 28.88, 276.39°)
OKLaboklab(40.68% -0.0192 -0.0813)
OKLCHoklch(40.68% 0.084 256.7)
XYZxyz(6.6725, 6.6972, 18.0771)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A76 #76562A
analogous
#2A7076 #2A4A76 #302A76
triadic
#2A4A76 #762A4A #4A762A
tetradic
#2A4A76 #762A70 #76562A #2A7630
square
#2A4A76 #762A70 #76562A #2A7630
split-complementary
#2A4A76 #76302A #70762A
monochromatic
#0A111C #1A2E49 #2A4A76 #3A66A3 #5785C3

Accessibility & contrast

On white

8.98
#2A4A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A4A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A76
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A76#FFFFFF#000000##FFFFFF
##2A4A761.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#2D4675
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4a76;
/* rgb */ color: rgb(42, 74, 118);
/* oklch */ color: oklch(40.7% 0.084 256.7);
Tailwind
colors: {
  custom: {
    50: '#6b7c9e',
    500: '#2a4a76',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a76;
$custom-light: #6b7c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a76",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 214.737,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.08357,
    "h": 256.7
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#2A4A76
secondary
#A88554
accent
#9F51D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2A4A76

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

Preview Lab → · Contrast checker → · Palette generator →

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