#3D50C2#3D50C2

#3D50C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.178 H 271.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3D50C2
RGBrgb(61, 80, 194)
HSLhsl(231, 52%, 50%)
HSVhsv(231, 69%, 76%)
CMYKcmyk(68.6%, 58.8%, 0%, 23.9%)
CIE-LABlab(38.94, 30.53, -61.92)
CIE-LCHlch(38.94, 69.04, 296.25°)
OKLaboklab(48.55% 0.003 -0.1785)
OKLCHoklch(48.55% 0.178 271)
XYZxyz(14.5274, 10.6231, 52.3133)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D50C2 #C2AF3D
analogous
#3D92C2 #3D50C2 #6D3DC2
triadic
#3D50C2 #C23D50 #50C23D
tetradic
#3D50C2 #C23D92 #C2AF3D #3DC26D
square
#3D50C2 #C23D92 #C2AF3D #3DC26D
split-complementary
#3D50C2 #C26D3D #92C23D
monochromatic
#202A65 #2E3D93 #3D50C2 #6C7AD1 #9AA4DF

Accessibility & contrast

On white

6.72
#3D50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3D50C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D50C2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D50C2#FFFFFF#000000##FFFFFF
##3D50C21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3d50c2;
/* rgb */ color: rgb(61, 80, 194);
/* oklch */ color: oklch(48.5% 0.178 271.0);
Tailwind
colors: {
  custom: {
    50: '#8381d5',
    500: '#3d50c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d50c2;
$custom-light: #8381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d50c2",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 231.429,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.17849,
    "h": 271
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#3D50C2
secondary
#CBC390
accent
#C74CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D50C2

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

Preview Lab → · Contrast checker → · Palette generator →

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