#2C47B3#2C47B3

#2C47B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.174 H 267.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2C47B3
RGBrgb(44, 71, 179)
HSLhsl(228, 61%, 44%)
HSVhsv(228, 75%, 70%)
CMYKcmyk(75.4%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.59, 28.70, -60.23)
CIE-LCHlch(34.59, 66.72, 295.48°)
OKLaboklab(44.71% -0.0067 -0.174)
OKLCHoklch(44.71% 0.174 267.8)
XYZxyz(11.4258, 8.2954, 43.6381)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47B3 #B3982C
analogous
#2C8AB3 #2C47B3 #542CB3
triadic
#2C47B3 #B32C47 #47B32C
tetradic
#2C47B3 #B32C8A #B3982C #2CB354
square
#2C47B3 #B32C8A #B3982C #2CB354
split-complementary
#2C47B3 #B3542C #8AB32C
monochromatic
#142051 #203482 #2C47B3 #4A65D2 #7B8FDF

Accessibility & contrast

On white

7.90
#2C47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C47B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47B3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47B3#FFFFFF#000000##FFFFFF
##2C47B31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c47b3;
/* rgb */ color: rgb(44, 71, 179);
/* oklch */ color: oklch(44.7% 0.174 267.8);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2c47b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c47b3;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47b3",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 228,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.1741,
    "h": 267.8
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#2C47B3
secondary
#C7B674
accent
#C444E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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