#3D5FD8#3D5FD8

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

Color values

HEX#3D5FD8
RGBrgb(61, 95, 216)
HSLhsl(227, 67%, 54%)
HSVhsv(227, 72%, 85%)
CMYKcmyk(71.8%, 56%, 0%, 15.3%)
CIE-LABlab(44.42, 28.84, -65.69)
CIE-LCHlch(44.42, 71.74, 293.70°)
OKLaboklab(53.17% -0.0081 -0.1893)
OKLCHoklch(53.17% 0.19 267.6)
XYZxyz(18.4070, 14.1325, 66.7102)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FD8 #D8B63D
analogous
#3DACD8 #3D5FD8 #693DD8
triadic
#3D5FD8 #D83D5F #5FD83D
tetradic
#3D5FD8 #D83DAC #D8B63D #3DD869
square
#3D5FD8 #D83DAC #D8B63D #3DD869
split-complementary
#3D5FD8 #D8693D #ACD83D
monochromatic
#1A3081 #2444B4 #3D5FD8 #7089E2 #A3B3EC

Accessibility & contrast

On white

5.49
#3D5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3D5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FD8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FD8#FFFFFF#000000##FFFFFF
##3D5FD81.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3d5fd8;
/* rgb */ color: rgb(61, 95, 216);
/* oklch */ color: oklch(53.2% 0.190 267.6);
Tailwind
colors: {
  custom: {
    50: '#868ce5',
    500: '#3d5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fd8;
$custom-light: #868ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fd8",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 226.839,
    "s": 66.524,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53167,
    "c": 0.18951,
    "h": 267.6
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#3D5FD8
secondary
#D9CB98
accent
#C43EE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3D5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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