#3D5FD9#3D5FD9

#3D5FD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.191 H 267.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3D5FD9
RGBrgb(61, 95, 217)
HSLhsl(227, 67%, 55%)
HSVhsv(227, 72%, 85%)
CMYKcmyk(71.9%, 56.2%, 0%, 14.9%)
CIE-LABlab(44.50, 29.20, -66.14)
CIE-LCHlch(44.50, 72.30, 293.82°)
OKLaboklab(53.25% -0.008 -0.1907)
OKLCHoklch(53.25% 0.191 267.6)
XYZxyz(18.5367, 14.1843, 67.3931)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FD9 #D9B73D
analogous
#3DADD9 #3D5FD9 #693DD9
triadic
#3D5FD9 #D93D5F #5FD93D
tetradic
#3D5FD9 #D93DAD #D9B73D #3DD969
square
#3D5FD9 #D93DAD #D9B73D #3DD969
split-complementary
#3D5FD9 #D9693D #ADD93D
monochromatic
#193082 #2443B5 #3D5FD9 #7089E3 #A3B3ED

Accessibility & contrast

On white

5.47
#3D5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3D5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FD9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FD9#FFFFFF#000000##FFFFFF
##3D5FD91.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d5fd9;
/* rgb */ color: rgb(61, 95, 217);
/* oklch */ color: oklch(53.2% 0.191 267.6);
Tailwind
colors: {
  custom: {
    50: '#868ce6',
    500: '#3d5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fd9;
$custom-light: #868ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fd9",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 226.923,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.19083,
    "h": 267.6
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#3D5FD9
secondary
#DACC98
accent
#C53EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3D5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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