#2A4E71#2A4E71

#2A4E71 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.072 H 249.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2A4E71
RGBrgb(42, 78, 113)
HSLhsl(210, 46%, 30%)
HSVhsv(210, 63%, 44%)
CMYKcmyk(62.8%, 31%, 0%, 55.7%)
CIE-LABlab(32.11, -1.24, -24.00)
CIE-LCHlch(32.11, 24.03, 267.05°)
OKLaboklab(41.38% -0.0255 -0.0676)
OKLCHoklch(41.38% 0.072 249.3)
XYZxyz(6.6588, 7.1327, 16.6454)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E71 #714D2A
analogous
#2A7170 #2A4E71 #2A2B71
triadic
#2A4E71 #712A4E #4E712A
tetradic
#2A4E71 #702A71 #714D2A #2B712A
square
#2A4E71 #702A71 #714D2A #2B712A
split-complementary
#2A4E71 #712A2B #71702A
monochromatic
#091018 #192F44 #2A4E71 #3B6D9E #558BC0

Accessibility & contrast

On white

8.65
#2A4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E71
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E71#FFFFFF#000000##FFFFFF
##2A4E711.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4e71;
/* rgb */ color: rgb(42, 78, 113);
/* oklch */ color: oklch(41.4% 0.072 249.3);
Tailwind
colors: {
  custom: {
    50: '#6a7f9a',
    500: '#2a4e71',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e71;
$custom-light: #6a7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e71",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 209.577,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.07225,
    "h": 249.3
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#2A4E71
secondary
#A37B54
accent
#9352D5
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2A4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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