#2A47C3#2A47C3

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

Color values

HEX#2A47C3
RGBrgb(42, 71, 195)
HSLhsl(229, 65%, 46%)
HSVhsv(229, 78%, 76%)
CMYKcmyk(78.5%, 63.6%, 0%, 23.5%)
CIE-LABlab(35.86, 34.43, -67.57)
CIE-LCHlch(35.86, 75.83, 297.00°)
OKLaboklab(46.05% -0.0086 -0.1955)
OKLCHoklch(46.05% 0.196 267.5)
XYZxyz(13.0550, 8.9374, 52.6562)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47C3 #C3A62A
analogous
#2A94C3 #2A47C3 #592AC3
triadic
#2A47C3 #C32A47 #47C32A
tetradic
#2A47C3 #C32A94 #C3A62A #2AC359
square
#2A47C3 #C32A94 #C3A62A #2AC359
split-complementary
#2A47C3 #C3592A #94C32A
monochromatic
#14225E #1F3591 #2A47C3 #516BD9 #8396E4

Accessibility & contrast

On white

7.53
#2A47C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2A47C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A47C3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47C3#FFFFFF#000000##FFFFFF
##2A47C31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a47c3;
/* rgb */ color: rgb(42, 71, 195);
/* oklch */ color: oklch(46.0% 0.196 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d7ad6',
    500: '#2a47c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a47c3;
$custom-light: #7d7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47c3",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 228.627,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.19569,
    "h": 267.5
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#2A47C3
secondary
#CDBE7B
accent
#C840E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A47C3

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

Preview Lab → · Contrast checker → · Palette generator →

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