#3D5ED9#3D5ED9

#3D5ED9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.192 H 267.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3D5ED9
RGBrgb(61, 94, 217)
HSLhsl(227, 67%, 55%)
HSVhsv(227, 72%, 85%)
CMYKcmyk(71.9%, 56.7%, 0%, 14.9%)
CIE-LABlab(44.24, 29.83, -66.56)
CIE-LCHlch(44.24, 72.94, 294.14°)
OKLaboklab(53.05% -0.0073 -0.1919)
OKLCHoklch(53.05% 0.192 267.8)
XYZxyz(18.4472, 14.0053, 67.3633)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ED9 #D9B83D
analogous
#3DACD9 #3D5ED9 #6A3DD9
triadic
#3D5ED9 #D93D5E #5ED93D
tetradic
#3D5ED9 #D93DAC #D9B83D #3DD96A
square
#3D5ED9 #D93DAC #D9B83D #3DD96A
split-complementary
#3D5ED9 #D96A3D #ACD93D
monochromatic
#193082 #2442B5 #3D5ED9 #7088E3 #A3B3ED

Accessibility & contrast

On white

5.52
#3D5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3D5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ED9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ED9#FFFFFF#000000##FFFFFF
##3D5ED91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d5ed9;
/* rgb */ color: rgb(61, 94, 217);
/* oklch */ color: oklch(53.1% 0.192 267.8);
Tailwind
colors: {
  custom: {
    50: '#878be6',
    500: '#3d5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ed9;
$custom-light: #878be6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ed9",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 227.308,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.19204,
    "h": 267.8
  },
  "luminance": 0.14007
}

Semantic roles & 50–950 ramp

primary
#3D5ED9
secondary
#DACC98
accent
#C63EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3D5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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