#2C47AF#2C47AF

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

Color values

HEX#2C47AF
RGBrgb(44, 71, 175)
HSLhsl(228, 60%, 43%)
HSVhsv(228, 75%, 69%)
CMYKcmyk(74.9%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.26, 27.21, -58.39)
CIE-LCHlch(34.26, 64.42, 294.98°)
OKLaboklab(44.36% -0.0067 -0.1686)
OKLCHoklch(44.36% 0.169 267.7)
XYZxyz(11.0271, 8.1359, 41.5384)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C47AF #AF942C
analogous
#2C88AF #2C47AF #532CAF
triadic
#2C47AF #AF2C47 #47AF2C
tetradic
#2C47AF #AF2C88 #AF942C #2CAF53
square
#2C47AF #AF2C88 #AF942C #2CAF53
split-complementary
#2C47AF #AF532C #88AF2C
monochromatic
#131F4D #20337E #2C47AF #4764D1 #788DDD

Accessibility & contrast

On white

7.99
#2C47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C47AF
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C47AF#FFFFFF#000000##FFFFFF
##2C47AF1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c47af;
/* rgb */ color: rgb(44, 71, 175);
/* oklch */ color: oklch(44.4% 0.169 267.7);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2c47af',
    950: '#000000',
  },
}
SCSS
$custom: #2c47af;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c47af",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 227.634,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44364,
    "c": 0.16869,
    "h": 267.7
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#2C47AF
secondary
#C5B472
accent
#C245E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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