#2A49A3#2A49A3

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

Color values

HEX#2A49A3
RGBrgb(42, 73, 163)
HSLhsl(225, 59%, 40%)
HSVhsv(225, 74%, 64%)
CMYKcmyk(74.2%, 55.2%, 0%, 36.1%)
CIE-LABlab(33.77, 21.07, -52.02)
CIE-LCHlch(33.77, 56.12, 292.05°)
OKLaboklab(43.68% -0.0106 -0.1498)
OKLCHoklch(43.68% 0.15 266)
XYZxyz(9.9459, 7.9006, 35.6440)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49A3 #A3842A
analogous
#2A85A3 #2A49A3 #472AA3
triadic
#2A49A3 #A32A49 #49A32A
tetradic
#2A49A3 #A32A85 #A3842A #2AA347
square
#2A49A3 #A32A85 #A3842A #2AA347
split-complementary
#2A49A3 #A3472A #85A32A
monochromatic
#111D42 #1D3372 #2A49A3 #3D62CD #6E89DA

Accessibility & contrast

On white

8.14
#2A49A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A49A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49A3
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49A3#FFFFFF#000000##FFFFFF
##2A49A31.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a49a3;
/* rgb */ color: rgb(42, 73, 163);
/* oklch */ color: oklch(43.7% 0.150 266.0);
Tailwind
colors: {
  custom: {
    50: '#757bbf',
    500: '#2a49a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a49a3;
$custom-light: #757bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49a3",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 163
  },
  "hsl": {
    "h": 224.628,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.15022,
    "h": 266
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#2A49A3
secondary
#C0AA68
accent
#BA46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A49A3

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

Preview Lab → · Contrast checker → · Palette generator →

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