#3D5DC9#3D5DC9

#3D5DC9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.172 H 267.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3D5DC9
RGBrgb(61, 93, 201)
HSLhsl(226, 56%, 51%)
HSVhsv(226, 70%, 79%)
CMYKcmyk(69.7%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.82, 24.71, -59.68)
CIE-LCHlch(42.82, 64.60, 292.49°)
OKLaboklab(51.62% -0.0073 -0.1717)
OKLCHoklch(51.62% 0.172 267.6)
XYZxyz(16.3778, 13.0362, 56.9001)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5DC9 #C9A93D
analogous
#3DA3C9 #3D5DC9 #633DC9
triadic
#3D5DC9 #C93D5D #5DC93D
tetradic
#3D5DC9 #C93DA3 #C9A93D #3DC963
square
#3D5DC9 #C93DA3 #C9A93D #3DC963
split-complementary
#3D5DC9 #C9633D #A3C93D
monochromatic
#1E306D #2C469D #3D5DC9 #6D85D6 #9DADE4

Accessibility & contrast

On white

5.82
#3D5DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3D5DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5DC9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5DC9#FFFFFF#000000##FFFFFF
##3D5DC91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096CCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5dc9;
/* rgb */ color: rgb(61, 93, 201);
/* oklch */ color: oklch(51.6% 0.172 267.6);
Tailwind
colors: {
  custom: {
    50: '#838ada',
    500: '#3d5dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5dc9;
$custom-light: #838ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5dc9",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 226.286,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51618,
    "c": 0.17187,
    "h": 267.6
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#3D5DC9
secondary
#D0C292
accent
#BD48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D5DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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