#2C47A2#2C47A2

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

Color values

HEX#2C47A2
RGBrgb(44, 71, 162)
HSLhsl(226, 57%, 40%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(72.8%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.24, 22.30, -52.28)
CIE-LCHlch(33.24, 56.84, 293.10°)
OKLaboklab(43.28% -0.0072 -0.1506)
OKLCHoklch(43.28% 0.151 267.3)
XYZxyz(9.8113, 7.6496, 35.1349)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47A2 #A2872C
analogous
#2C82A2 #2C47A2 #4C2CA2
triadic
#2C47A2 #A22C47 #47A22C
tetradic
#2C47A2 #A22C82 #A2872C #2CA24C
square
#2C47A2 #A22C82 #A2872C #2CA24C
split-complementary
#2C47A2 #A24C2C #82A22C
monochromatic
#121D42 #1F3272 #2C47A2 #4060CB #7088D8

Accessibility & contrast

On white

8.30
#2C47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C47A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47A2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47A2#FFFFFF#000000##FFFFFF
##2C47A21.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c47a2;
/* rgb */ color: rgb(44, 71, 162);
/* oklch */ color: oklch(43.3% 0.151 267.3);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2c47a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c47a2;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47a2",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 226.271,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43278,
    "c": 0.15078,
    "h": 267.3
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#2C47A2
secondary
#BFAC6A
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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