#2A4C99#2A4C99

#2A4C99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.132 H 263.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2A4C99
RGBrgb(42, 76, 153)
HSLhsl(222, 57%, 38%)
HSVhsv(222, 73%, 60%)
CMYKcmyk(72.5%, 50.3%, 0%, 40%)
CIE-LABlab(33.90, 15.21, -45.79)
CIE-LCHlch(33.90, 48.25, 288.37°)
OKLaboklab(43.54% -0.0142 -0.1315)
OKLCHoklch(43.54% 0.132 263.8)
XYZxyz(9.2870, 7.9601, 31.1778)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C99 #99772A
analogous
#2A8399 #2A4C99 #402A99
triadic
#2A4C99 #992A4C #4C992A
tetradic
#2A4C99 #992A83 #99772A #2A9940
square
#2A4C99 #992A83 #99772A #2A9940
split-complementary
#2A4C99 #99402A #83992A
monochromatic
#101C39 #1D3469 #2A4C99 #3864C8 #6889D6

Accessibility & contrast

On white

8.10
#2A4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C99
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C99#FFFFFF#000000##FFFFFF
##2A4C991.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4c99;
/* rgb */ color: rgb(42, 76, 153);
/* oklch */ color: oklch(43.5% 0.132 263.8);
Tailwind
colors: {
  custom: {
    50: '#727db8',
    500: '#2a4c99',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c99;
$custom-light: #727db8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c99",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 221.622,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.13223,
    "h": 263.8
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#2A4C99
secondary
#BCA163
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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