#2C47A3#2C47A3

#2C47A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.152 H 267.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2C47A3
RGBrgb(44, 71, 163)
HSLhsl(226, 57%, 41%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(73%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.32, 22.68, -52.76)
CIE-LCHlch(33.32, 57.42, 293.26°)
OKLaboklab(43.36% -0.0072 -0.152)
OKLCHoklch(43.36% 0.152 267.3)
XYZxyz(9.9005, 7.6853, 35.6049)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47A3 #A3882C
analogous
#2C82A3 #2C47A3 #4D2CA3
triadic
#2C47A3 #A32C47 #47A32C
tetradic
#2C47A3 #A32C82 #A3882C #2CA34D
square
#2C47A3 #A32C82 #A3882C #2CA34D
split-complementary
#2C47A3 #A34D2C #82A32C
monochromatic
#121D43 #1F3273 #2C47A3 #4160CC #7188D9

Accessibility & contrast

On white

8.28
#2C47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C47A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47A3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47A3#FFFFFF#000000##FFFFFF
##2C47A31.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c47a3;
/* rgb */ color: rgb(44, 71, 163);
/* oklch */ color: oklch(43.4% 0.152 267.3);
Tailwind
colors: {
  custom: {
    50: '#7679bf',
    500: '#2c47a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c47a3;
$custom-light: #7679bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47a3",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 226.387,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.15218,
    "h": 267.3
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#2C47A3
secondary
#C0AD6B
accent
#BE47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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