#2A49B3#2A49B3

#2A49B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.172 H 266.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2A49B3
RGBrgb(42, 73, 179)
HSLhsl(226, 62%, 43%)
HSVhsv(226, 77%, 70%)
CMYKcmyk(76.5%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.02, 27.16, -59.53)
CIE-LCHlch(35.02, 65.43, 294.52°)
OKLaboklab(45.01% -0.0098 -0.1719)
OKLCHoklch(45.01% 0.172 266.7)
XYZxyz(11.4712, 8.5107, 43.6773)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49B3 #B3942A
analogous
#2A8DB3 #2A49B3 #4F2AB3
triadic
#2A49B3 #B32A49 #49B32A
tetradic
#2A49B3 #B32A8D #B3942A #2AB34F
square
#2A49B3 #B32A8D #B3942A #2AB34F
split-complementary
#2A49B3 #B34F2A #8DB32A
monochromatic
#132150 #1E3581 #2A49B3 #4666D4 #788FDF

Accessibility & contrast

On white

7.77
#2A49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A49B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49B3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49B3#FFFFFF#000000##FFFFFF
##2A49B31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2a49b3;
/* rgb */ color: rgb(42, 73, 179);
/* oklch */ color: oklch(45.0% 0.172 266.7);
Tailwind
colors: {
  custom: {
    50: '#797bcb',
    500: '#2a49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a49b3;
$custom-light: #797bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49b3",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 226.423,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.17219,
    "h": 266.7
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#2A49B3
secondary
#C7B472
accent
#C043E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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