#2A49AB#2A49AB

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

Color values

HEX#2A49AB
RGBrgb(42, 73, 171)
HSLhsl(226, 61%, 42%)
HSVhsv(226, 75%, 67%)
CMYKcmyk(75.4%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.39, 24.13, -55.81)
CIE-LCHlch(34.39, 60.80, 293.38°)
OKLaboklab(44.33% -0.0101 -0.161)
OKLCHoklch(44.33% 0.161 266.4)
XYZxyz(10.6855, 8.1964, 39.5391)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49AB #AB8C2A
analogous
#2A8AAB #2A49AB #4B2AAB
triadic
#2A49AB #AB2A49 #49AB2A
tetradic
#2A49AB #AB2A8A #AB8C2A #2AAB4B
square
#2A49AB #AB2A8A #AB8C2A #2AAB4B
split-complementary
#2A49AB #AB4B2A #8AAB2A
monochromatic
#121F49 #1E347A #2A49AB #4264D1 #738CDD

Accessibility & contrast

On white

7.96
#2A49AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A49AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49AB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49AB#FFFFFF#000000##FFFFFF
##2A49AB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a49ab;
/* rgb */ color: rgb(42, 73, 171);
/* oklch */ color: oklch(44.3% 0.161 266.4);
Tailwind
colors: {
  custom: {
    50: '#777bc5',
    500: '#2a49ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a49ab;
$custom-light: #777bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49ab",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 225.581,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.16132,
    "h": 266.4
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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