#2A49BC#2A49BC

#2A49BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.184 H 267.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2A49BC
RGBrgb(42, 73, 188)
HSLhsl(227, 63%, 45%)
HSVhsv(227, 78%, 74%)
CMYKcmyk(77.7%, 61.2%, 0%, 26.3%)
CIE-LABlab(35.77, 30.54, -63.63)
CIE-LCHlch(35.77, 70.58, 295.64°)
OKLaboklab(45.79% -0.0097 -0.1839)
OKLCHoklch(45.79% 0.184 267)
XYZxyz(12.4113, 8.8868, 48.6284)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A49BC #BC9D2A
analogous
#2A92BC #2A49BC #542ABC
triadic
#2A49BC #BC2A49 #49BC2A
tetradic
#2A49BC #BC2A92 #BC9D2A #2ABC54
square
#2A49BC #BC2A92 #BC9D2A #2ABC54
split-complementary
#2A49BC #BC542A #92BC2A
monochromatic
#142258 #1F368A #2A49BC #4C6AD7 #7E93E2

Accessibility & contrast

On white

7.56
#2A49BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A49BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A49BC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A49BC#FFFFFF#000000##FFFFFF
##2A49BC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a49bc;
/* rgb */ color: rgb(42, 73, 188);
/* oklch */ color: oklch(45.8% 0.184 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7bd1',
    500: '#2a49bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a49bc;
$custom-light: #7b7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a49bc",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 227.26,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.18419,
    "h": 267
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#2A49BC
secondary
#CBB977
accent
#C341E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A49BC

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

Preview Lab → · Contrast checker → · Palette generator →

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