#2A4E76#2A4E76

#2A4E76 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.079 H 252.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2A4E76
RGBrgb(42, 78, 118)
HSLhsl(212, 48%, 31%)
HSVhsv(212, 64%, 46%)
CMYKcmyk(64.4%, 33.9%, 0%, 53.7%)
CIE-LABlab(32.37, 0.59, -26.72)
CIE-LCHlch(32.37, 26.73, 271.27°)
OKLaboklab(41.67% -0.0239 -0.0755)
OKLCHoklch(41.67% 0.079 252.4)
XYZxyz(6.9481, 7.2484, 18.1689)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E76 #76522A
analogous
#2A7476 #2A4E76 #2C2A76
triadic
#2A4E76 #762A4E #4E762A
tetradic
#2A4E76 #762A74 #76522A #2A762C
square
#2A4E76 #762A74 #76522A #2A762C
split-complementary
#2A4E76 #762C2A #74762A
monochromatic
#0A121C #1A3049 #2A4E76 #3A6CA3 #578AC3

Accessibility & contrast

On white

8.57
#2A4E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E76
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E76#FFFFFF#000000##FFFFFF
##2A4E761.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e76;
/* rgb */ color: rgb(42, 78, 118);
/* oklch */ color: oklch(41.7% 0.079 252.4);
Tailwind
colors: {
  custom: {
    50: '#6b7f9d',
    500: '#2a4e76',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e76;
$custom-light: #6b7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e76",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 211.579,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.0792,
    "h": 252.4
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#2A4E76
secondary
#A88054
accent
#9751D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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