#3D5ED8#3D5ED8

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

Color values

HEX#3D5ED8
RGBrgb(61, 94, 216)
HSLhsl(227, 67%, 54%)
HSVhsv(227, 72%, 85%)
CMYKcmyk(71.8%, 56.5%, 0%, 15.3%)
CIE-LABlab(44.17, 29.47, -66.11)
CIE-LCHlch(44.17, 72.38, 294.03°)
OKLaboklab(52.98% -0.0073 -0.1906)
OKLCHoklch(52.98% 0.191 267.8)
XYZxyz(18.3175, 13.9535, 66.6804)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5ED8 #D8B73D
analogous
#3DACD8 #3D5ED8 #6A3DD8
triadic
#3D5ED8 #D83D5E #5ED83D
tetradic
#3D5ED8 #D83DAC #D8B73D #3DD86A
square
#3D5ED8 #D83DAC #D8B73D #3DD86A
split-complementary
#3D5ED8 #D86A3D #ACD83D
monochromatic
#1A3081 #2443B4 #3D5ED8 #7088E2 #A3B3EC

Accessibility & contrast

On white

5.54
#3D5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#3D5ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5ED8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5ED8#FFFFFF#000000##FFFFFF
##3D5ED81.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d5ed8;
/* rgb */ color: rgb(61, 94, 216);
/* oklch */ color: oklch(53.0% 0.191 267.8);
Tailwind
colors: {
  custom: {
    50: '#868be5',
    500: '#3d5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ed8;
$custom-light: #868be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ed8",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 227.226,
    "s": 66.524,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.19072,
    "h": 267.8
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#3D5ED8
secondary
#D9CB98
accent
#C53EE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3D5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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