#3D5EC3#3D5EC3

#3D5EC3 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.162 H 266.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3D5EC3
RGBrgb(61, 94, 195)
HSLhsl(225, 53%, 50%)
HSVhsv(225, 69%, 76%)
CMYKcmyk(68.7%, 51.8%, 0%, 23.5%)
CIE-LABlab(42.67, 21.90, -56.46)
CIE-LCHlch(42.67, 60.56, 291.20°)
OKLaboklab(51.37% -0.0087 -0.1622)
OKLCHoklch(51.37% 0.162 266.9)
XYZxyz(15.7741, 12.9361, 53.2848)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EC3 #C3A23D
analogous
#3DA1C3 #3D5EC3 #5F3DC3
triadic
#3D5EC3 #C33D5E #5EC33D
tetradic
#3D5EC3 #C33DA1 #C3A23D #3DC35F
square
#3D5EC3 #C33DA1 #C3A23D #3DC35F
split-complementary
#3D5EC3 #C35F3D #A1C33D
monochromatic
#203166 #2E4795 #3D5EC3 #6C85D1 #9AACE0

Accessibility & contrast

On white

5.85
#3D5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3D5EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5EC3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EC3#FFFFFF#000000##FFFFFF
##3D5EC31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5ec3;
/* rgb */ color: rgb(61, 94, 195);
/* oklch */ color: oklch(51.4% 0.162 266.9);
Tailwind
colors: {
  custom: {
    50: '#828bd6',
    500: '#3d5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ec3;
$custom-light: #828bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ec3",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 225.224,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.16243,
    "h": 266.9
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#3D5EC3
secondary
#CCBD90
accent
#B94CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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