#2A47BC#2A47BC

#2A47BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.187 H 267.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2A47BC
RGBrgb(42, 71, 188)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 78%, 74%)
CMYKcmyk(77.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.26, 31.84, -64.45)
CIE-LCHlch(35.26, 71.89, 296.29°)
OKLaboklab(45.41% -0.0084 -0.1864)
OKLCHoklch(45.41% 0.187 267.4)
XYZxyz(12.2820, 8.6282, 48.5853)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A47BC #BC9F2A
analogous
#2A90BC #2A47BC #562ABC
triadic
#2A47BC #BC2A47 #47BC2A
tetradic
#2A47BC #BC2A90 #BC9F2A #2ABC56
square
#2A47BC #BC2A90 #BC9F2A #2ABC56
split-complementary
#2A47BC #BC562A #90BC2A
monochromatic
#142158 #1F348A #2A47BC #4C68D7 #7E92E2

Accessibility & contrast

On white

7.70
#2A47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A47BC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A47BC#FFFFFF#000000##FFFFFF
##2A47BC1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a47bc;
/* rgb */ color: rgb(42, 71, 188);
/* oklch */ color: oklch(45.4% 0.187 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ad1',
    500: '#2a47bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a47bc;
$custom-light: #7b7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a47bc",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 228.082,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.18658,
    "h": 267.4
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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