#2A49B2#2A49B2

#2A49B2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.171 H 266.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2A49B2
RGBrgb(42, 73, 178)
HSLhsl(226, 62%, 43%)
HSVhsv(226, 76%, 70%)
CMYKcmyk(76.4%, 59%, 0%, 30.2%)
CIE-LABlab(34.94, 26.78, -59.07)
CIE-LCHlch(34.94, 64.85, 294.39°)
OKLaboklab(44.92% -0.0098 -0.1706)
OKLCHoklch(44.92% 0.171 266.7)
XYZxyz(11.3705, 8.4704, 43.1465)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49B2 #B2932A
analogous
#2A8DB2 #2A49B2 #4F2AB2
triadic
#2A49B2 #B22A49 #49B22A
tetradic
#2A49B2 #B22A8D #B2932A #2AB24F
square
#2A49B2 #B22A8D #B2932A #2AB24F
split-complementary
#2A49B2 #B24F2A #8DB22A
monochromatic
#13204F #1E3580 #2A49B2 #4666D3 #778FDF

Accessibility & contrast

On white

7.79
#2A49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2A49B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49B2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49B2#FFFFFF#000000##FFFFFF
##2A49B21.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a49b2;
/* rgb */ color: rgb(42, 73, 178);
/* oklch */ color: oklch(44.9% 0.171 266.7);
Tailwind
colors: {
  custom: {
    50: '#787bca',
    500: '#2a49b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a49b2;
$custom-light: #787bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49b2",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 226.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.17084,
    "h": 266.7
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#2A49B2
secondary
#C7B371
accent
#C043E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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