#2C47A6#2C47A6

#2C47A6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.156 H 267.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2C47A6
RGBrgb(44, 71, 166)
HSLhsl(227, 58%, 41%)
HSVhsv(227, 73%, 65%)
CMYKcmyk(73.5%, 57.2%, 0%, 34.9%)
CIE-LABlab(33.55, 23.81, -54.18)
CIE-LCHlch(33.55, 59.18, 293.73°)
OKLaboklab(43.61% -0.007 -0.1562)
OKLCHoklch(43.61% 0.156 267.4)
XYZxyz(10.1725, 7.7941, 37.0373)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47A6 #A68B2C
analogous
#2C84A6 #2C47A6 #4E2CA6
triadic
#2C47A6 #A62C47 #47A62C
tetradic
#2C47A6 #A62C84 #A68B2C #2CA64E
square
#2C47A6 #A62C84 #A68B2C #2CA64E
split-complementary
#2C47A6 #A64E2C #84A62C
monochromatic
#121E45 #1F3276 #2C47A6 #4261CD #7389DA

Accessibility & contrast

On white

8.21
#2C47A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C47A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47A6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47A6#FFFFFF#000000##FFFFFF
##2C47A61.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c47a6;
/* rgb */ color: rgb(44, 71, 166);
/* oklch */ color: oklch(43.6% 0.156 267.4);
Tailwind
colors: {
  custom: {
    50: '#7679c1',
    500: '#2c47a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c47a6;
$custom-light: #7679c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47a6",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 226.721,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43606,
    "c": 0.15636,
    "h": 267.4
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#2C47A6
secondary
#C1AE6D
accent
#BF46E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C47A6

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

Preview Lab → · Contrast checker → · Palette generator →

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