#3D5CD9#3D5CD9

#3D5CD9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.194 H 268.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3D5CD9
RGBrgb(61, 92, 217)
HSLhsl(228, 67%, 55%)
HSVhsv(228, 72%, 85%)
CMYKcmyk(71.9%, 57.6%, 0%, 14.9%)
CIE-LABlab(43.73, 31.10, -67.38)
CIE-LCHlch(43.73, 74.21, 294.78°)
OKLaboklab(52.67% -0.0058 -0.1943)
OKLCHoklch(52.67% 0.194 268.3)
XYZxyz(18.2717, 13.6542, 67.3048)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5CD9 #D9BA3D
analogous
#3DAAD9 #3D5CD9 #6C3DD9
triadic
#3D5CD9 #D93D5C #5CD93D
tetradic
#3D5CD9 #D93DAA #D9BA3D #3DD96C
square
#3D5CD9 #D93DAA #D9BA3D #3DD96C
split-complementary
#3D5CD9 #D96C3D #AAD93D
monochromatic
#192E82 #2440B5 #3D5CD9 #7087E3 #A3B2ED

Accessibility & contrast

On white

5.63
#3D5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3D5CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5CD9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5CD9#FFFFFF#000000##FFFFFF
##3D5CD91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d5cd9;
/* rgb */ color: rgb(61, 92, 217);
/* oklch */ color: oklch(52.7% 0.194 268.3);
Tailwind
colors: {
  custom: {
    50: '#8789e6',
    500: '#3d5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5cd9;
$custom-light: #8789e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5cd9",
  "rgb": {
    "r": 61,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 228.077,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.19444,
    "h": 268.3
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#3D5CD9
secondary
#DACD98
accent
#C83EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3D5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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