#3D47C8#3D47C8

#3D47C8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.197 H 272.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3D47C8
RGBrgb(61, 71, 200)
HSLhsl(236, 56%, 51%)
HSVhsv(236, 70%, 78%)
CMYKcmyk(69.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(37.24, 38.30, -68.19)
CIE-LCHlch(37.24, 78.21, 299.32°)
OKLaboklab(47.45% 0.0096 -0.1969)
OKLCHoklch(47.45% 0.197 272.8)
XYZxyz(14.5995, 9.6673, 55.7290)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47C8 #C8BE3D
analogous
#3D8CC8 #3D47C8 #783DC8
triadic
#3D47C8 #C83D47 #47C83D
tetradic
#3D47C8 #C83D8C #C8BE3D #3DC878
square
#3D47C8 #C83D8C #C8BE3D #3DC878
split-complementary
#3D47C8 #C8783D #8CC83D
monochromatic
#1F246C #2C349C #3D47C8 #6D74D6 #9CA1E3

Accessibility & contrast

On white

7.16
#3D47C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3D47C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47C8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47C8#FFFFFF#000000##FFFFFF
##3D47C81.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d47c8;
/* rgb */ color: rgb(61, 71, 200);
/* oklch */ color: oklch(47.4% 0.197 272.8);
Tailwind
colors: {
  custom: {
    50: '#857ada',
    500: '#3d47c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d47c8;
$custom-light: #857ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47c8",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 235.683,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.19716,
    "h": 272.8
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#3D47C8
secondary
#CFCB92
accent
#D449DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3D47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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