#2A4D7B#2A4D7B

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

Color values

HEX#2A4D7B
RGBrgb(42, 77, 123)
HSLhsl(214, 49%, 32%)
HSVhsv(214, 66%, 48%)
CMYKcmyk(65.9%, 37.4%, 0%, 51.8%)
CIE-LABlab(32.32, 3.10, -29.90)
CIE-LCHlch(32.32, 30.06, 275.92°)
OKLaboklab(41.72% -0.0213 -0.0848)
OKLCHoklch(41.72% 0.087 255.9)
XYZxyz(7.1826, 7.2294, 19.7519)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D7B #7B582A
analogous
#2A767B #2A4D7B #2F2A7B
triadic
#2A4D7B #7B2A4D #4D7B2A
tetradic
#2A4D7B #7B2A76 #7B582A #2A7B2F
square
#2A4D7B #7B2A76 #7B582A #2A7B2F
split-complementary
#2A4D7B #7B2F2A #767B2A
monochromatic
#0B1420 #1A304D #2A4D7B #3A6AA9 #5988C6

Accessibility & contrast

On white

8.59
#2A4D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4D7B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D7B#FFFFFF#000000##FFFFFF
##2A4D7B1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4d7b;
/* rgb */ color: rgb(42, 77, 123);
/* oklch */ color: oklch(41.7% 0.087 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c7ea1',
    500: '#2a4d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d7b;
$custom-light: #6c7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d7b",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 214.074,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.08743,
    "h": 255.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#2A4D7B
secondary
#AC8655
accent
#9D4FD9
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2A4D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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