#3D47C9#3D47C9

#3D47C9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.198 H 272.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3D47C9
RGBrgb(61, 71, 201)
HSLhsl(236, 56%, 51%)
HSVhsv(236, 70%, 79%)
CMYKcmyk(69.7%, 64.7%, 0%, 21.2%)
CIE-LABlab(37.32, 38.64, -68.63)
CIE-LCHlch(37.32, 78.76, 299.38°)
OKLaboklab(47.54% 0.0095 -0.1982)
OKLCHoklch(47.54% 0.198 272.7)
XYZxyz(14.7168, 9.7142, 56.3465)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47C9 #C9BF3D
analogous
#3D8DC9 #3D47C9 #793DC9
triadic
#3D47C9 #C93D47 #47C93D
tetradic
#3D47C9 #C93D8D #C9BF3D #3DC979
square
#3D47C9 #C93D8D #C9BF3D #3DC979
split-complementary
#3D47C9 #C9793D #8DC93D
monochromatic
#1E246D #2C349D #3D47C9 #6D74D6 #9DA2E4

Accessibility & contrast

On white

7.14
#3D47C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3D47C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47C9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47C9#FFFFFF#000000##FFFFFF
##3D47C91.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d47c9;
/* rgb */ color: rgb(61, 71, 201);
/* oklch */ color: oklch(47.5% 0.198 272.7);
Tailwind
colors: {
  custom: {
    50: '#857ada',
    500: '#3d47c9',
    950: '#000000',
  },
}
SCSS
$custom: #3d47c9;
$custom-light: #857ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47c9",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 235.714,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.19845,
    "h": 272.7
  },
  "luminance": 0.09716
}

Semantic roles & 50–950 ramp

primary
#3D47C9
secondary
#D0CB92
accent
#D548E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3D47C9

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

Preview Lab → · Contrast checker → · Palette generator →

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