#2A49B6#2A49B6

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

Color values

HEX#2A49B6
RGBrgb(42, 73, 182)
HSLhsl(227, 63%, 44%)
HSVhsv(227, 77%, 71%)
CMYKcmyk(76.9%, 59.9%, 0%, 28.6%)
CIE-LABlab(35.27, 28.29, -60.90)
CIE-LCHlch(35.27, 67.15, 294.92°)
OKLaboklab(45.27% -0.0097 -0.1759)
OKLCHoklch(45.27% 0.176 266.8)
XYZxyz(11.7779, 8.6334, 45.2926)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49B6 #B6972A
analogous
#2A8FB6 #2A49B6 #512AB6
triadic
#2A49B6 #B62A49 #49B62A
tetradic
#2A49B6 #B62A8F #B6972A #2AB651
square
#2A49B6 #B62A8F #B6972A #2AB651
split-complementary
#2A49B6 #B6512A #8FB62A
monochromatic
#132153 #1F3584 #2A49B6 #4867D5 #7A91E0

Accessibility & contrast

On white

7.70
#2A49B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2A49B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49B6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49B6#FFFFFF#000000##FFFFFF
##2A49B61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a49b6;
/* rgb */ color: rgb(42, 73, 182);
/* oklch */ color: oklch(45.3% 0.176 266.8);
Tailwind
colors: {
  custom: {
    50: '#797bcd',
    500: '#2a49b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a49b6;
$custom-light: #797bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49b6",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 182
  },
  "hsl": {
    "h": 226.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.17622,
    "h": 266.8
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#2A49B6
secondary
#C8B673
accent
#C142E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A49B6

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

Preview Lab → · Contrast checker → · Palette generator →

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