#2A4AA9#2A4AA9

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

Color values

HEX#2A4AA9
RGBrgb(42, 74, 169)
HSLhsl(225, 60%, 41%)
HSVhsv(225, 75%, 66%)
CMYKcmyk(75.1%, 56.2%, 0%, 33.7%)
CIE-LABlab(34.50, 22.70, -54.43)
CIE-LCHlch(34.50, 58.97, 292.63°)
OKLaboklab(44.37% -0.0109 -0.1569)
OKLCHoklch(44.37% 0.157 266)
XYZxyz(10.5625, 8.2532, 38.5648)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4AA9 #A9892A
analogous
#2A8AA9 #2A4AA9 #4A2AA9
triadic
#2A4AA9 #A92A4A #4AA92A
tetradic
#2A4AA9 #A92A8A #A9892A #2AA94A
square
#2A4AA9 #A92A8A #A9892A #2AA94A
split-complementary
#2A4AA9 #A94A2A #8AA92A
monochromatic
#121F47 #1E3578 #2A4AA9 #4165D0 #728CDC

Accessibility & contrast

On white

7.92
#2A4AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A4AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4AA9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4AA9#FFFFFF#000000##FFFFFF
##2A4AA91.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a4aa9;
/* rgb */ color: rgb(42, 74, 169);
/* oklch */ color: oklch(44.4% 0.157 266.0);
Tailwind
colors: {
  custom: {
    50: '#767cc3',
    500: '#2a4aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4aa9;
$custom-light: #767cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4aa9",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 169
  },
  "hsl": {
    "h": 224.882,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44372,
    "c": 0.1573,
    "h": 266
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#2A4AA9
secondary
#C3AD6C
accent
#BB44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A4AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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