#2B47BC#2B47BC

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

Color values

HEX#2B47BC
RGBrgb(43, 71, 188)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(77.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.30, 31.94, -64.38)
CIE-LCHlch(35.30, 71.87, 296.39°)
OKLaboklab(45.46% -0.0076 -0.1862)
OKLCHoklch(45.46% 0.186 267.7)
XYZxyz(12.3234, 8.6495, 48.5872)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47BC #BCA02B
analogous
#2B8FBC #2B47BC #582BBC
triadic
#2B47BC #BC2B47 #47BC2B
tetradic
#2B47BC #BC2B8F #BCA02B #2BBC58
square
#2B47BC #BC2B8F #BCA02B #2BBC58
split-complementary
#2B47BC #BC582B #8FBC2B
monochromatic
#142158 #20348A #2B47BC #4E68D6 #8093E2

Accessibility & contrast

On white

7.69
#2B47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B47BC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47BC#FFFFFF#000000##FFFFFF
##2B47BC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.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: #2b47bc;
/* rgb */ color: rgb(43, 71, 188);
/* oklch */ color: oklch(45.5% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#7b7ad1',
    500: '#2b47bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b47bc;
$custom-light: #7b7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47bc",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 228.414,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45457,
    "c": 0.18632,
    "h": 267.7
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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