#2A49A4#2A49A4

#2A49A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.152 H 266.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2A49A4
RGBrgb(42, 73, 164)
HSLhsl(225, 59%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(74.4%, 55.5%, 0%, 35.7%)
CIE-LABlab(33.85, 21.45, -52.50)
CIE-LCHlch(33.85, 56.71, 292.23°)
OKLaboklab(43.76% -0.0105 -0.1513)
OKLCHoklch(43.76% 0.152 266)
XYZxyz(10.0359, 7.9366, 36.1178)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49A4 #A4852A
analogous
#2A86A4 #2A49A4 #482AA4
triadic
#2A49A4 #A42A49 #49A42A
tetradic
#2A49A4 #A42A86 #A4852A #2AA448
square
#2A49A4 #A42A86 #A4852A #2AA448
split-complementary
#2A49A4 #A4482A #86A42A
monochromatic
#111E43 #1E3373 #2A49A4 #3E62CD #6E8ADA

Accessibility & contrast

On white

8.12
#2A49A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A49A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49A4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49A4#FFFFFF#000000##FFFFFF
##2A49A41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a49a4;
/* rgb */ color: rgb(42, 73, 164);
/* oklch */ color: oklch(43.8% 0.152 266.0);
Tailwind
colors: {
  custom: {
    50: '#757bc0',
    500: '#2a49a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a49a4;
$custom-light: #757bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49a4",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 164
  },
  "hsl": {
    "h": 224.754,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43759,
    "c": 0.15162,
    "h": 266
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#2A49A4
secondary
#C1AB69
accent
#BB45E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A49A4

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

Preview Lab → · Contrast checker → · Palette generator →

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