#2C47AA#2C47AA

#2C47AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.162 H 267.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2C47AA
RGBrgb(44, 71, 170)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 74%, 67%)
CMYKcmyk(74.1%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.86, 25.32, -56.06)
CIE-LCHlch(33.86, 61.52, 294.31°)
OKLaboklab(43.94% -0.0069 -0.1617)
OKLCHoklch(43.94% 0.162 267.6)
XYZxyz(10.5451, 7.9431, 38.9998)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47AA #AA8F2C
analogous
#2C86AA #2C47AA #502CAA
triadic
#2C47AA #AA2C47 #47AA2C
tetradic
#2C47AA #AA2C86 #AA8F2C #2CAA50
square
#2C47AA #AA2C86 #AA8F2C #2CAA50
split-complementary
#2C47AA #AA502C #86AA2C
monochromatic
#131E49 #1F3379 #2C47AA #4462CF #758BDB

Accessibility & contrast

On white

8.11
#2C47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47AA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47AA#FFFFFF#000000##FFFFFF
##2C47AA1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c47aa;
/* rgb */ color: rgb(44, 71, 170);
/* oklch */ color: oklch(43.9% 0.162 267.6);
Tailwind
colors: {
  custom: {
    50: '#7779c4',
    500: '#2c47aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c47aa;
$custom-light: #7779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47aa",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 227.143,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4394,
    "c": 0.16188,
    "h": 267.6
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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