#3D5DC2#3D5DC2

#3D5DC2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.162 H 267.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3D5DC2
RGBrgb(61, 93, 194)
HSLhsl(226, 52%, 50%)
HSVhsv(226, 69%, 76%)
CMYKcmyk(68.6%, 52.1%, 0%, 23.9%)
CIE-LABlab(42.33, 22.18, -56.42)
CIE-LCHlch(42.33, 60.63, 291.46°)
OKLaboklab(51.09% -0.0079 -0.1621)
OKLCHoklch(51.09% 0.162 267.2)
XYZxyz(15.5731, 12.7143, 52.6619)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DC2 #C2A23D
analogous
#3D9FC2 #3D5DC2 #603DC2
triadic
#3D5DC2 #C23D5D #5DC23D
tetradic
#3D5DC2 #C23D9F #C2A23D #3DC260
square
#3D5DC2 #C23D9F #C2A23D #3DC260
split-complementary
#3D5DC2 #C2603D #9FC23D
monochromatic
#203065 #2E4793 #3D5DC2 #6C84D1 #9AABDF

Accessibility & contrast

On white

5.93
#3D5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3D5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DC2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DC2#FFFFFF#000000##FFFFFF
##3D5DC21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5dc2;
/* rgb */ color: rgb(61, 93, 194);
/* oklch */ color: oklch(51.1% 0.162 267.2);
Tailwind
colors: {
  custom: {
    50: '#828ad5',
    500: '#3d5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dc2;
$custom-light: #828ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dc2",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 225.564,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.1623,
    "h": 267.2
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#3D5DC2
secondary
#CBBD90
accent
#B94CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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