#2C47BD#2C47BD

#2C47BD is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.187 H 267.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2C47BD
RGBrgb(44, 71, 189)
HSLhsl(229, 62%, 46%)
HSVhsv(229, 77%, 74%)
CMYKcmyk(76.7%, 62.4%, 0%, 25.9%)
CIE-LABlab(35.43, 32.42, -64.76)
CIE-LCHlch(35.43, 72.42, 296.59°)
OKLaboklab(45.59% -0.0067 -0.1872)
OKLCHoklch(45.59% 0.187 267.9)
XYZxyz(12.4741, 8.7147, 49.1589)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47BD #BDA22C
analogous
#2C8FBD #2C47BD #5A2CBD
triadic
#2C47BD #BD2C47 #47BD2C
tetradic
#2C47BD #BD2C8F #BDA22C #2CBD5A
square
#2C47BD #BD2C8F #BDA22C #2CBD5A
split-complementary
#2C47BD #BD5A2C #8FBD2C
monochromatic
#15225A #20348B #2C47BD #5069D6 #8294E2

Accessibility & contrast

On white

7.66
#2C47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47BD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47BD#FFFFFF#000000##FFFFFF
##2C47BD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c47bd;
/* rgb */ color: rgb(44, 71, 189);
/* oklch */ color: oklch(45.6% 0.187 267.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ad2',
    500: '#2c47bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c47bd;
$custom-light: #7c7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47bd",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 228.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.18737,
    "h": 267.9
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#2C47BD
secondary
#CBBC7A
accent
#C742E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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