#2C47B1#2C47B1

#2C47B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.171 H 267.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C47B1
RGBrgb(44, 71, 177)
HSLhsl(228, 60%, 43%)
HSVhsv(228, 75%, 69%)
CMYKcmyk(75.1%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.43, 27.95, -59.31)
CIE-LCHlch(34.43, 65.57, 295.24°)
OKLaboklab(44.54% -0.0067 -0.1713)
OKLCHoklch(44.54% 0.171 267.8)
XYZxyz(11.2250, 8.2151, 42.5805)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47B1 #B1962C
analogous
#2C89B1 #2C47B1 #542CB1
triadic
#2C47B1 #B12C47 #47B12C
tetradic
#2C47B1 #B12C89 #B1962C #2CB154
square
#2C47B1 #B12C89 #B1962C #2CB154
split-complementary
#2C47B1 #B1542C #89B12C
monochromatic
#14204F #203380 #2C47B1 #4964D2 #7A8EDE

Accessibility & contrast

On white

7.94
#2C47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C47B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47B1
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47B1#FFFFFF#000000##FFFFFF
##2C47B11.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c47b1;
/* rgb */ color: rgb(44, 71, 177);
/* oklch */ color: oklch(44.5% 0.171 267.8);
Tailwind
colors: {
  custom: {
    50: '#7979c9',
    500: '#2c47b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c47b1;
$custom-light: #7979c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47b1",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 227.82,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.1714,
    "h": 267.8
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#2C47B1
secondary
#C6B573
accent
#C344E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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