#2A4D7A#2A4D7A

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

Color values

HEX#2A4D7A
RGBrgb(42, 77, 122)
HSLhsl(214, 49%, 32%)
HSVhsv(214, 66%, 48%)
CMYKcmyk(65.6%, 36.9%, 0%, 52.2%)
CIE-LABlab(32.27, 2.73, -29.37)
CIE-LCHlch(32.27, 29.49, 275.30°)
OKLaboklab(41.66% -0.0215 -0.0832)
OKLCHoklch(41.66% 0.086 255.5)
XYZxyz(7.1203, 7.2045, 19.4239)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D7A #7A572A
analogous
#2A757A #2A4D7A #2F2A7A
triadic
#2A4D7A #7A2A4D #4D7A2A
tetradic
#2A4D7A #7A2A75 #7A572A #2A7A2F
square
#2A4D7A #7A2A75 #7A572A #2A7A2F
split-complementary
#2A4D7A #7A2F2A #757A2A
monochromatic
#0B141F #1A304C #2A4D7A #3A6AA8 #5988C6

Accessibility & contrast

On white

8.60
#2A4D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A4D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D7A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D7A#FFFFFF#000000##FFFFFF
##2A4D7A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#2F4879
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4d7a;
/* rgb */ color: rgb(42, 77, 122);
/* oklch */ color: oklch(41.7% 0.086 255.5);
Tailwind
colors: {
  custom: {
    50: '#6c7ea0',
    500: '#2a4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d7a;
$custom-light: #6c7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d7a",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 213.75,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.08598,
    "h": 255.5
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#2A4D7A
secondary
#AB8555
accent
#9C4FD8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2A4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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