#2A4AA4#2A4AA4

#2A4AA4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.150 H 265.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2A4AA4
RGBrgb(42, 74, 164)
HSLhsl(224, 59%, 40%)
HSVhsv(224, 74%, 64%)
CMYKcmyk(74.4%, 54.9%, 0%, 35.7%)
CIE-LABlab(34.13, 20.78, -52.05)
CIE-LCHlch(34.13, 56.05, 291.77°)
OKLaboklab(43.97% -0.0113 -0.1499)
OKLCHoklch(43.97% 0.15 265.7)
XYZxyz(10.1021, 8.0690, 36.1398)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA4 #A4842A
analogous
#2A87A4 #2A4AA4 #472AA4
triadic
#2A4AA4 #A42A4A #4AA42A
tetradic
#2A4AA4 #A42A87 #A4842A #2AA447
square
#2A4AA4 #A42A87 #A4842A #2AA447
split-complementary
#2A4AA4 #A4472A #87A42A
monochromatic
#111E43 #1E3473 #2A4AA4 #3E63CD #6E8BDA

Accessibility & contrast

On white

8.03
#2A4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A4AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AA4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA4#FFFFFF#000000##FFFFFF
##2A4AA41.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4aa4;
/* rgb */ color: rgb(42, 74, 164);
/* oklch */ color: oklch(44.0% 0.150 265.7);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2a4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa4;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa4",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 224.262,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43967,
    "c": 0.15035,
    "h": 265.7
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#2A4AA4
secondary
#C1AA69
accent
#B945E2
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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