#2A4F76#2A4F76

#2A4F76 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.078 H 251.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4F76
RGBrgb(42, 79, 118)
HSLhsl(211, 48%, 31%)
HSVhsv(211, 64%, 46%)
CMYKcmyk(64.4%, 33.1%, 0%, 53.7%)
CIE-LABlab(32.68, -0.06, -26.22)
CIE-LCHlch(32.68, 26.22, 269.87°)
OKLaboklab(41.91% -0.0251 -0.074)
OKLCHoklch(41.91% 0.078 251.3)
XYZxyz(7.0197, 7.3916, 18.1928)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4F76 #76512A
analogous
#2A7576 #2A4F76 #2B2A76
triadic
#2A4F76 #762A4F #4F762A
tetradic
#2A4F76 #762A75 #76512A #2A762B
square
#2A4F76 #762A75 #76512A #2A762B
split-complementary
#2A4F76 #762B2A #75762A
monochromatic
#0A131C #1A3149 #2A4F76 #3A6DA3 #578CC3

Accessibility & contrast

On white

8.47
#2A4F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A4F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4F76
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4F76#FFFFFF#000000##FFFFFF
##2A4F761.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#344A75
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4f76;
/* rgb */ color: rgb(42, 79, 118);
/* oklch */ color: oklch(41.9% 0.078 251.3);
Tailwind
colors: {
  custom: {
    50: '#6b809d',
    500: '#2a4f76',
    950: '#000000',
  },
}
SCSS
$custom: #2a4f76;
$custom-light: #6b809d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4f76",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 118
  },
  "hsl": {
    "h": 210.789,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.07818,
    "h": 251.3
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#2A4F76
secondary
#A87F54
accent
#9651D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4F76

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

Preview Lab → · Contrast checker → · Palette generator →

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