#3D51CD#3D51CD

#3D51CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.192 H 270.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3D51CD
RGBrgb(61, 81, 205)
HSLhsl(232, 59%, 52%)
HSVhsv(232, 70%, 80%)
CMYKcmyk(70.2%, 60.5%, 0%, 19.6%)
CIE-LABlab(40.05, 33.79, -66.49)
CIE-LCHlch(40.05, 74.58, 296.94°)
OKLaboklab(49.65% 0.0022 -0.1919)
OKLCHoklch(49.65% 0.192 270.7)
XYZxyz(15.8826, 11.2832, 59.0866)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D51CD #CDB93D
analogous
#3D99CD #3D51CD #713DCD
triadic
#3D51CD #CD3D51 #51CD3D
tetradic
#3D51CD #CD3D99 #CDB93D #3DCD71
square
#3D51CD #CD3D99 #CDB93D #3DCD71
split-complementary
#3D51CD #CD713D #99CD3D
monochromatic
#1D2972 #2A3BA3 #3D51CD #6E7DDA #9EA8E6

Accessibility & contrast

On white

6.45
#3D51CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3D51CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D51CD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D51CD#FFFFFF#000000##FFFFFF
##3D51CD1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d51cd;
/* rgb */ color: rgb(61, 81, 205);
/* oklch */ color: oklch(49.6% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#8581dd',
    500: '#3d51cd',
    950: '#000000',
  },
}
SCSS
$custom: #3d51cd;
$custom-light: #8581dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d51cd",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 231.667,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.19187,
    "h": 270.7
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#3D51CD
secondary
#D2CA93
accent
#CC46E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D51CD

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

Preview Lab → · Contrast checker → · Palette generator →

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