#2A49A5#2A49A5

#2A49A5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.153 H 266.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2A49A5
RGBrgb(42, 73, 165)
HSLhsl(225, 59%, 41%)
HSVhsv(225, 75%, 65%)
CMYKcmyk(74.5%, 55.8%, 0%, 35.3%)
CIE-LABlab(33.93, 21.83, -52.97)
CIE-LCHlch(33.93, 57.30, 292.40°)
OKLaboklab(43.84% -0.0104 -0.1527)
OKLCHoklch(43.84% 0.153 266.1)
XYZxyz(10.1265, 7.9728, 36.5952)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49A5 #A5862A
analogous
#2A86A5 #2A49A5 #482AA5
triadic
#2A49A5 #A52A49 #49A52A
tetradic
#2A49A5 #A52A86 #A5862A #2AA548
square
#2A49A5 #A52A86 #A5862A #2AA548
split-complementary
#2A49A5 #A5482A #86A52A
monochromatic
#111E43 #1E3374 #2A49A5 #3E62CE #6F8ADA

Accessibility & contrast

On white

8.09
#2A49A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A49A5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49A5#FFFFFF#000000##FFFFFF
##2A49A51.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a49a5;
/* rgb */ color: rgb(42, 73, 165);
/* oklch */ color: oklch(43.8% 0.153 266.1);
Tailwind
colors: {
  custom: {
    50: '#757bc0',
    500: '#2a49a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a49a5;
$custom-light: #757bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49a5",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 165
  },
  "hsl": {
    "h": 224.878,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.15302,
    "h": 266.1
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A49A5

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

Preview Lab → · Contrast checker → · Palette generator →

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