#3D5EC1#3D5EC1

#3D5EC1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.160 H 266.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3D5EC1
RGBrgb(61, 94, 193)
HSLhsl(225, 52%, 50%)
HSVhsv(225, 68%, 76%)
CMYKcmyk(68.4%, 51.3%, 0%, 24.3%)
CIE-LABlab(42.53, 21.17, -55.52)
CIE-LCHlch(42.53, 59.42, 290.88°)
OKLaboklab(51.22% -0.0089 -0.1594)
OKLCHoklch(51.22% 0.16 266.8)
XYZxyz(15.5495, 12.8462, 52.1018)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EC1 #C1A03D
analogous
#3DA0C1 #3D5EC1 #5E3DC1
triadic
#3D5EC1 #C13D5E #5EC13D
tetradic
#3D5EC1 #C13DA0 #C1A03D #3DC15E
square
#3D5EC1 #C13DA0 #C1A03D #3DC15E
split-complementary
#3D5EC1 #C15E3D #A0C13D
monochromatic
#203164 #2E4792 #3D5EC1 #6B84D0 #99ABDF

Accessibility & contrast

On white

5.88
#3D5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3D5EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5EC1
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EC1#FFFFFF#000000##FFFFFF
##3D5EC11.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5ec1;
/* rgb */ color: rgb(61, 94, 193);
/* oklch */ color: oklch(51.2% 0.160 266.8);
Tailwind
colors: {
  custom: {
    50: '#828bd4',
    500: '#3d5ec1',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ec1;
$custom-light: #828bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ec1",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 225,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.15968,
    "h": 266.8
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#3D5EC1
secondary
#CBBC8F
accent
#B84CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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