#2C47AB#2C47AB

#2C47AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.163 H 267.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2C47AB
RGBrgb(44, 71, 171)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 74%, 67%)
CMYKcmyk(74.3%, 58.5%, 0%, 32.9%)
CIE-LABlab(33.94, 25.70, -56.53)
CIE-LCHlch(33.94, 62.10, 294.45°)
OKLaboklab(44.02% -0.0068 -0.1631)
OKLCHoklch(44.02% 0.163 267.6)
XYZxyz(10.6401, 7.9811, 39.4999)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47AB #AB902C
analogous
#2C87AB #2C47AB #502CAB
triadic
#2C47AB #AB2C47 #47AB2C
tetradic
#2C47AB #AB2C87 #AB902C #2CAB50
square
#2C47AB #AB2C87 #AB902C #2CAB50
split-complementary
#2C47AB #AB502C #87AB2C
monochromatic
#131F4A #1F337A #2C47AB #4562CF #768BDC

Accessibility & contrast

On white

8.09
#2C47AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C47AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47AB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47AB#FFFFFF#000000##FFFFFF
##2C47AB1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c47ab;
/* rgb */ color: rgb(44, 71, 171);
/* oklch */ color: oklch(44.0% 0.163 267.6);
Tailwind
colors: {
  custom: {
    50: '#7779c5',
    500: '#2c47ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c47ab;
$custom-light: #7779c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47ab",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 227.244,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.16324,
    "h": 267.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#2C47AB
secondary
#C3B26F
accent
#C146E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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