#3D5FD2#3D5FD2

#3D5FD2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.182 H 267.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3D5FD2
RGBrgb(61, 95, 210)
HSLhsl(226, 62%, 53%)
HSVhsv(226, 71%, 82%)
CMYKcmyk(71%, 54.8%, 0%, 17.6%)
CIE-LABlab(43.98, 26.68, -62.97)
CIE-LCHlch(43.98, 68.39, 292.96°)
OKLaboklab(52.7% -0.0084 -0.1813)
OKLCHoklch(52.7% 0.182 267.4)
XYZxyz(17.6455, 13.8278, 62.6994)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FD2 #D2B03D
analogous
#3DA9D2 #3D5FD2 #653DD2
triadic
#3D5FD2 #D23D5F #5FD23D
tetradic
#3D5FD2 #D23DA9 #D2B03D #3DD265
square
#3D5FD2 #D23DA9 #D2B03D #3DD265
split-complementary
#3D5FD2 #D2653D #A9D23D
monochromatic
#1C3179 #2845AA #3D5FD2 #6F88DE #A0B1E9

Accessibility & contrast

On white

5.58
#3D5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3D5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FD2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FD2#FFFFFF#000000##FFFFFF
##3D5FD21.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3d5fd2;
/* rgb */ color: rgb(61, 95, 210);
/* oklch */ color: oklch(52.7% 0.182 267.4);
Tailwind
colors: {
  custom: {
    50: '#858be1',
    500: '#3d5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fd2;
$custom-light: #858be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fd2",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 226.309,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.18153,
    "h": 267.4
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#3D5FD2
secondary
#D6C795
accent
#C042E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3D5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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