#2A49BA#2A49BA

#2A49BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.182 H 266.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2A49BA
RGBrgb(42, 73, 186)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 77%, 73%)
CMYKcmyk(77.4%, 60.8%, 0%, 27.1%)
CIE-LABlab(35.60, 29.79, -62.72)
CIE-LCHlch(35.60, 69.44, 295.41°)
OKLaboklab(45.62% -0.0097 -0.1813)
OKLCHoklch(45.62% 0.182 266.9)
XYZxyz(12.1972, 8.8011, 47.5008)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49BA #BA9B2A
analogous
#2A91BA #2A49BA #532ABA
triadic
#2A49BA #BA2A49 #49BA2A
tetradic
#2A49BA #BA2A91 #BA9B2A #2ABA53
square
#2A49BA #BA2A91 #BA9B2A #2ABA53
split-complementary
#2A49BA #BA532A #91BA2A
monochromatic
#132256 #1F3588 #2A49BA #4B69D6 #7D93E2

Accessibility & contrast

On white

7.61
#2A49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2A49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49BA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49BA#FFFFFF#000000##FFFFFF
##2A49BA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a49ba;
/* rgb */ color: rgb(42, 73, 186);
/* oklch */ color: oklch(45.6% 0.182 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7bd0',
    500: '#2a49ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a49ba;
$custom-light: #7a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49ba",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 227.083,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.18155,
    "h": 266.9
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#2A49BA
secondary
#CAB876
accent
#C342E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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