#2A4CA4#2A4CA4

#2A4CA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.148 H 265.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2A4CA4
RGBrgb(42, 76, 164)
HSLhsl(223, 59%, 40%)
HSVhsv(223, 74%, 64%)
CMYKcmyk(74.4%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.68, 19.44, -51.15)
CIE-LCHlch(34.68, 54.72, 290.81°)
OKLaboklab(44.39% -0.0129 -0.1472)
OKLCHoklch(44.39% 0.148 265)
XYZxyz(10.2378, 8.3404, 36.1851)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4CA4 #A4822A
analogous
#2A89A4 #2A4CA4 #452AA4
triadic
#2A4CA4 #A42A4C #4CA42A
tetradic
#2A4CA4 #A42A89 #A4822A #2AA445
square
#2A4CA4 #A42A89 #A4822A #2AA445
split-complementary
#2A4CA4 #A4452A #89A42A
monochromatic
#111F43 #1E3573 #2A4CA4 #3E66CD #6E8CDA

Accessibility & contrast

On white

7.87
#2A4CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2A4CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4CA4
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4CA4#FFFFFF#000000##FFFFFF
##2A4CA41.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C57A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a4ca4;
/* rgb */ color: rgb(42, 76, 164);
/* oklch */ color: oklch(44.4% 0.148 265.0);
Tailwind
colors: {
  custom: {
    50: '#757dc0',
    500: '#2a4ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2a4ca4;
$custom-light: #757dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4ca4",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 223.279,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.14781,
    "h": 265
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#2A4CA4
secondary
#C1A869
accent
#B745E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A4CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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