#3D47D2#3D47D2

#3D47D2 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.210 H 272.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3D47D2
RGBrgb(61, 71, 210)
HSLhsl(236, 62%, 53%)
HSVhsv(236, 71%, 82%)
CMYKcmyk(71%, 66.2%, 0%, 17.6%)
CIE-LABlab(38.11, 41.73, -72.55)
CIE-LCHlch(38.11, 83.70, 299.90°)
OKLaboklab(48.35% 0.0088 -0.2097)
OKLCHoklch(48.35% 0.21 272.4)
XYZxyz(15.8066, 10.1501, 62.0864)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47D2 #D2C83D
analogous
#3D91D2 #3D47D2 #7D3DD2
triadic
#3D47D2 #D23D47 #47D23D
tetradic
#3D47D2 #D23D91 #D2C83D #3DD27D
square
#3D47D2 #D23D91 #D2C83D #3DD27D
split-complementary
#3D47D2 #D27D3D #91D23D
monochromatic
#1C2279 #2830AA #3D47D2 #6F76DE #A0A5E9

Accessibility & contrast

On white

6.93
#3D47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3D47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D47D2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47D2#FFFFFF#000000##FFFFFF
##3D47D21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0053CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d47d2;
/* rgb */ color: rgb(61, 71, 210);
/* oklch */ color: oklch(48.4% 0.210 272.4);
Tailwind
colors: {
  custom: {
    50: '#877ae1',
    500: '#3d47d2',
    950: '#000000',
  },
}
SCSS
$custom: #3d47d2;
$custom-light: #877ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47d2",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 235.973,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.20989,
    "h": 272.4
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#3D47D2
secondary
#D6D195
accent
#DA42E5
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3D47D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3D47D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva