#2A47BD#2A47BD

#2A47BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.188 H 267.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2A47BD
RGBrgb(42, 71, 189)
HSLhsl(228, 64%, 45%)
HSVhsv(228, 78%, 74%)
CMYKcmyk(77.8%, 62.4%, 0%, 25.9%)
CIE-LABlab(35.34, 32.21, -64.90)
CIE-LCHlch(35.34, 72.46, 296.40°)
OKLaboklab(45.5% -0.0085 -0.1877)
OKLCHoklch(45.5% 0.188 267.4)
XYZxyz(12.3902, 8.6714, 49.1550)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47BD #BDA02A
analogous
#2A91BD #2A47BD #562ABD
triadic
#2A47BD #BD2A47 #47BD2A
tetradic
#2A47BD #BD2A91 #BDA02A #2ABD56
square
#2A47BD #BD2A91 #BDA02A #2ABD56
split-complementary
#2A47BD #BD562A #91BD2A
monochromatic
#142159 #1F348B #2A47BD #4D68D7 #7F93E3

Accessibility & contrast

On white

7.68
#2A47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A47BD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47BD#FFFFFF#000000##FFFFFF
##2A47BD1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a47bd;
/* rgb */ color: rgb(42, 71, 189);
/* oklch */ color: oklch(45.5% 0.188 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ad2',
    500: '#2a47bd',
    950: '#000000',
  },
}
SCSS
$custom: #2a47bd;
$custom-light: #7b7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47bd",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 228.163,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.18789,
    "h": 267.4
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#2A47BD
secondary
#CBBB78
accent
#C641E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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