#2D47CC#2D47CC

#2D47CC is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.0% C 0.206 H 268.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2D47CC
RGBrgb(45, 71, 204)
HSLhsl(230, 64%, 49%)
HSVhsv(230, 78%, 80%)
CMYKcmyk(77.9%, 65.2%, 0%, 20%)
CIE-LABlab(36.79, 37.98, -71.29)
CIE-LCHlch(36.79, 80.77, 298.05°)
OKLaboklab(47% -0.0064 -0.2063)
OKLCHoklch(47% 0.206 268.2)
XYZxyz(14.2307, 9.4224, 58.1837)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47CC #CCB22D
analogous
#2D97CC #2D47CC #632DCC
triadic
#2D47CC #CC2D47 #47CC2D
tetradic
#2D47CC #CC2D97 #CCB22D #2DCC63
square
#2D47CC #CC2D97 #CCB22D #2DCC63
split-complementary
#2D47CC #CC632D #97CC2D
monochromatic
#172468 #22369A #2D47CC #5B70DB #8D9CE6

Accessibility & contrast

On white

7.28
#2D47CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D47CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47CC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47CC#FFFFFF#000000##FFFFFF
##2D47CC1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d47cc;
/* rgb */ color: rgb(45, 71, 204);
/* oklch */ color: oklch(47.0% 0.206 268.2);
Tailwind
colors: {
  custom: {
    50: '#807add',
    500: '#2d47cc',
    950: '#000000',
  },
}
SCSS
$custom: #2d47cc;
$custom-light: #807add;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47cc",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 230.189,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.20644,
    "h": 268.2
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#2D47CC
secondary
#D0C485
accent
#CC41E7
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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