#2A47C2#2A47C2

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

Color values

HEX#2A47C2
RGBrgb(42, 71, 194)
HSLhsl(229, 64%, 46%)
HSVhsv(229, 78%, 76%)
CMYKcmyk(78.4%, 63.4%, 0%, 23.9%)
CIE-LABlab(35.78, 34.06, -67.12)
CIE-LCHlch(35.78, 75.27, 296.90°)
OKLaboklab(45.96% -0.0085 -0.1942)
OKLCHoklch(45.96% 0.194 267.5)
XYZxyz(12.9423, 8.8923, 52.0628)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47C2 #C2A52A
analogous
#2A93C2 #2A47C2 #592AC2
triadic
#2A47C2 #C22A47 #47C22A
tetradic
#2A47C2 #C22A93 #C2A52A #2AC259
square
#2A47C2 #C22A93 #C2A52A #2AC259
split-complementary
#2A47C2 #C2592A #93C22A
monochromatic
#14225D #1F3590 #2A47C2 #506AD9 #8295E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A47C2#FFFFFF#000000##FFFFFF
##2A47C21.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)
#005BC6
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a47c2;
/* rgb */ color: rgb(42, 71, 194);
/* oklch */ color: oklch(46.0% 0.194 267.5);
Tailwind
colors: {
  custom: {
    50: '#7c7ad5',
    500: '#2a47c2',
    950: '#000000',
  },
}
SCSS
$custom: #2a47c2;
$custom-light: #7c7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47c2",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 228.553,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.1944,
    "h": 267.5
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

primary
#2A47C2
secondary
#CDBD7B
accent
#C840E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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