#2A4AA5#2A4AA5

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

Color values

HEX#2A4AA5
RGBrgb(42, 74, 165)
HSLhsl(224, 59%, 41%)
HSVhsv(224, 75%, 65%)
CMYKcmyk(74.5%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.20, 21.17, -52.53)
CIE-LCHlch(34.20, 56.63, 291.95°)
OKLaboklab(44.05% -0.0112 -0.1513)
OKLCHoklch(44.05% 0.152 265.8)
XYZxyz(10.1928, 8.1053, 36.6173)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA5 #A5852A
analogous
#2A87A5 #2A4AA5 #472AA5
triadic
#2A4AA5 #A52A4A #4AA52A
tetradic
#2A4AA5 #A52A87 #A5852A #2AA547
square
#2A4AA5 #A52A87 #A5852A #2AA547
split-complementary
#2A4AA5 #A5472A #87A52A
monochromatic
#111E43 #1E3474 #2A4AA5 #3E64CE #6F8BDA

Accessibility & contrast

On white

8.01
#2A4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2A4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AA5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA5#FFFFFF#000000##FFFFFF
##2A4AA51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a4aa5;
/* rgb */ color: rgb(42, 74, 165);
/* oklch */ color: oklch(44.0% 0.152 265.8);
Tailwind
colors: {
  custom: {
    50: '#757cc0',
    500: '#2a4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa5;
$custom-light: #757cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa5",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 224.39,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.15175,
    "h": 265.8
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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