#3D5FC6#3D5FC6

#3D5FC6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.8% C 0.165 H 266.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC6
RGBrgb(61, 95, 198)
HSLhsl(225, 55%, 51%)
HSVhsv(225, 69%, 78%)
CMYKcmyk(69.2%, 52%, 0%, 22.4%)
CIE-LABlab(43.14, 22.34, -57.43)
CIE-LCHlch(43.14, 61.62, 291.26°)
OKLaboklab(51.8% -0.0093 -0.165)
OKLCHoklch(51.8% 0.165 266.8)
XYZxyz(16.2062, 13.2521, 55.1190)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC6 #C6A43D
analogous
#3DA4C6 #3D5FC6 #5F3DC6
triadic
#3D5FC6 #C63D5F #5FC63D
tetradic
#3D5FC6 #C63DA4 #C6A43D #3DC65F
square
#3D5FC6 #C63DA4 #C6A43D #3DC65F
split-complementary
#3D5FC6 #C65F3D #A4C63D
monochromatic
#1F326A #2D4899 #3D5FC6 #6C86D4 #9CADE2

Accessibility & contrast

On white

5.75
#3D5FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3D5FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC6#FFFFFF#000000##FFFFFF
##3D5FC61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6CCA
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5fc6;
/* rgb */ color: rgb(61, 95, 198);
/* oklch */ color: oklch(51.8% 0.165 266.8);
Tailwind
colors: {
  custom: {
    50: '#838bd8',
    500: '#3d5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc6;
$custom-light: #838bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc6",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 225.109,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.1653,
    "h": 266.8
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#3D5FC6
secondary
#CEBF91
accent
#B94ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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