#2A49B5#2A49B5

#2A49B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.175 H 266.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2A49B5
RGBrgb(42, 73, 181)
HSLhsl(227, 62%, 44%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(76.8%, 59.7%, 0%, 29%)
CIE-LABlab(35.19, 27.91, -60.45)
CIE-LCHlch(35.19, 66.58, 294.79°)
OKLaboklab(45.18% -0.0097 -0.1746)
OKLCHoklch(45.18% 0.175 266.8)
XYZxyz(11.6750, 8.5922, 44.7503)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49B5 #B5962A
analogous
#2A8EB5 #2A49B5 #502AB5
triadic
#2A49B5 #B52A49 #49B52A
tetradic
#2A49B5 #B52A8E #B5962A #2AB550
square
#2A49B5 #B52A8E #B5962A #2AB550
split-complementary
#2A49B5 #B5502A #8EB52A
monochromatic
#132152 #1E3583 #2A49B5 #4867D4 #7990E0

Accessibility & contrast

On white

7.72
#2A49B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2A49B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49B5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49B5#FFFFFF#000000##FFFFFF
##2A49B51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a49b5;
/* rgb */ color: rgb(42, 73, 181);
/* oklch */ color: oklch(45.2% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#797bcc',
    500: '#2a49b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a49b5;
$custom-light: #797bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49b5",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 226.619,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.17488,
    "h": 266.8
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#2A49B5
secondary
#C8B573
accent
#C142E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2A49B5

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

Preview Lab → · Contrast checker → · Palette generator →

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