#2A49AA#2A49AA

#2A49AA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.160 H 266.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2A49AA
RGBrgb(42, 73, 170)
HSLhsl(225, 60%, 42%)
HSVhsv(225, 75%, 67%)
CMYKcmyk(75.3%, 57.1%, 0%, 33.3%)
CIE-LABlab(34.31, 23.74, -55.34)
CIE-LCHlch(34.31, 60.22, 293.22°)
OKLaboklab(44.25% -0.0101 -0.1596)
OKLCHoklch(44.25% 0.16 266.4)
XYZxyz(10.5905, 8.1585, 39.0390)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49AA #AA8B2A
analogous
#2A89AA #2A49AA #4B2AAA
triadic
#2A49AA #AA2A49 #49AA2A
tetradic
#2A49AA #AA2A89 #AA8B2A #2AAA4B
square
#2A49AA #AA2A89 #AA8B2A #2AAA4B
split-complementary
#2A49AA #AA4B2A #89AA2A
monochromatic
#121F48 #1E3479 #2A49AA #4164D0 #728CDC

Accessibility & contrast

On white

7.98
#2A49AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A49AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49AA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49AA#FFFFFF#000000##FFFFFF
##2A49AA1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a49aa;
/* rgb */ color: rgb(42, 73, 170);
/* oklch */ color: oklch(44.3% 0.160 266.4);
Tailwind
colors: {
  custom: {
    50: '#767bc4',
    500: '#2a49aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a49aa;
$custom-light: #767bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49aa",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 225.469,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.15993,
    "h": 266.4
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2A49AA
secondary
#C3AE6C
accent
#BD44E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A49AA

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

Preview Lab → · Contrast checker → · Palette generator →

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