#2C47BA#2C47BA

#2C47BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.183 H 267.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2C47BA
RGBrgb(44, 71, 186)
HSLhsl(229, 62%, 45%)
HSVhsv(229, 76%, 73%)
CMYKcmyk(76.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.17, 31.31, -63.41)
CIE-LCHlch(35.17, 70.72, 296.28°)
OKLaboklab(45.32% -0.0067 -0.1833)
OKLCHoklch(45.32% 0.183 267.9)
XYZxyz(12.1518, 8.5858, 47.4616)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47BA #BA9F2C
analogous
#2C8EBA #2C47BA #582CBA
triadic
#2C47BA #BA2C47 #47BA2C
tetradic
#2C47BA #BA2C8E #BA9F2C #2CBA58
square
#2C47BA #BA2C8E #BA9F2C #2CBA58
split-complementary
#2C47BA #BA582C #8EBA2C
monochromatic
#152157 #203489 #2C47BA #4E68D5 #8092E1

Accessibility & contrast

On white

7.73
#2C47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47BA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47BA#FFFFFF#000000##FFFFFF
##2C47BA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c47ba;
/* rgb */ color: rgb(44, 71, 186);
/* oklch */ color: oklch(45.3% 0.183 267.9);
Tailwind
colors: {
  custom: {
    50: '#7b7ad0',
    500: '#2c47ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c47ba;
$custom-light: #7b7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47ba",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 228.592,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.18342,
    "h": 267.9
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#2C47BA
secondary
#CABA78
accent
#C643E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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