#2C47AD#2C47AD

#2C47AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.166 H 267.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2C47AD
RGBrgb(44, 71, 173)
HSLhsl(227, 59%, 43%)
HSVhsv(227, 75%, 68%)
CMYKcmyk(74.6%, 59%, 0%, 32.2%)
CIE-LABlab(34.10, 26.45, -57.46)
CIE-LCHlch(34.10, 63.26, 294.72°)
OKLaboklab(44.19% -0.0068 -0.1658)
OKLCHoklch(44.19% 0.166 267.7)
XYZxyz(10.8321, 8.0579, 40.5115)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47AD #AD922C
analogous
#2C87AD #2C47AD #522CAD
triadic
#2C47AD #AD2C47 #47AD2C
tetradic
#2C47AD #AD2C87 #AD922C #2CAD52
square
#2C47AD #AD2C87 #AD922C #2CAD52
split-complementary
#2C47AD #AD522C #87AD2C
monochromatic
#131F4B #20337C #2C47AD #4663D0 #778CDC

Accessibility & contrast

On white

8.04
#2C47AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C47AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47AD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47AD#FFFFFF#000000##FFFFFF
##2C47AD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c47ad;
/* rgb */ color: rgb(44, 71, 173);
/* oklch */ color: oklch(44.2% 0.166 267.7);
Tailwind
colors: {
  custom: {
    50: '#7879c6',
    500: '#2c47ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c47ad;
$custom-light: #7879c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47ad",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 227.442,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.16598,
    "h": 267.7
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#2C47AD
secondary
#C4B371
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C47AD

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

Preview Lab → · Contrast checker → · Palette generator →

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