#3D5CE6#3D5CE6

#3D5CE6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 53.7% C 0.211 H 268.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3D5CE6
RGBrgb(61, 92, 230)
HSLhsl(229, 77%, 57%)
HSVhsv(229, 73%, 90%)
CMYKcmyk(73.5%, 60%, 0%, 9.8%)
CIE-LABlab(44.74, 35.73, -73.12)
CIE-LCHlch(44.74, 81.38, 296.04°)
OKLaboklab(53.74% -0.0056 -0.2112)
OKLCHoklch(53.74% 0.211 268.5)
XYZxyz(20.0296, 14.3574, 76.5632)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CE6 #E6C73D
analogous
#3DB1E6 #3D5CE6 #733DE6
triadic
#3D5CE6 #E63D5C #5CE63D
tetradic
#3D5CE6 #E63DB1 #E6C73D #3DE673
square
#3D5CE6 #E63DB1 #E6C73D #3DE673
split-complementary
#3D5CE6 #E6733D #B1E63D
monochromatic
#132B95 #1A3BCC #3D5CE6 #738AED #A9B7F4

Accessibility & contrast

On white

5.42
#3D5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3D5CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CE6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CE6#FFFFFF#000000##FFFFFF
##3D5CE61.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0062E3
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d5ce6;
/* rgb */ color: rgb(61, 92, 230);
/* oklch */ color: oklch(53.7% 0.211 268.5);
Tailwind
colors: {
  custom: {
    50: '#8989ef',
    500: '#3d5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ce6;
$custom-light: #8989ef;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ce6",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 228.994,
    "s": 77.169,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.21129,
    "h": 268.5
  },
  "luminance": 0.1436
}

Semantic roles & 50–950 ramp

primary
#3D5CE6
secondary
#E2D59D
accent
#D134F4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0B17
muted
#7E7C85

Preview Lab

Preview with #3D5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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