#2C47AE#2C47AE

#2C47AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 267.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2C47AE
RGBrgb(44, 71, 174)
HSLhsl(228, 60%, 43%)
HSVhsv(228, 75%, 68%)
CMYKcmyk(74.7%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.18, 26.83, -57.93)
CIE-LCHlch(34.18, 63.84, 294.85°)
OKLaboklab(44.28% -0.0067 -0.1672)
OKLCHoklch(44.28% 0.167 267.7)
XYZxyz(10.9293, 8.0968, 41.0230)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47AE #AE932C
analogous
#2C88AE #2C47AE #522CAE
triadic
#2C47AE #AE2C47 #47AE2C
tetradic
#2C47AE #AE2C88 #AE932C #2CAE52
square
#2C47AE #AE2C88 #AE932C #2CAE52
split-complementary
#2C47AE #AE522C #88AE2C
monochromatic
#131F4C #20337D #2C47AE #4763D0 #788DDD

Accessibility & contrast

On white

8.02
#2C47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47AE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47AE#FFFFFF#000000##FFFFFF
##2C47AE1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c47ae;
/* rgb */ color: rgb(44, 71, 174);
/* oklch */ color: oklch(44.3% 0.167 267.7);
Tailwind
colors: {
  custom: {
    50: '#7879c7',
    500: '#2c47ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c47ae;
$custom-light: #7879c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47ae",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 227.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.16734,
    "h": 267.7
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#2C47AE
secondary
#C5B371
accent
#C245E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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