#3D5FC4#3D5FC4

#3D5FC4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.6% C 0.163 H 266.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC4
RGBrgb(61, 95, 196)
HSLhsl(225, 53%, 50%)
HSVhsv(225, 69%, 77%)
CMYKcmyk(68.9%, 51.5%, 0%, 23.1%)
CIE-LABlab(43.00, 21.62, -56.49)
CIE-LCHlch(43.00, 60.49, 290.94°)
OKLaboklab(51.65% -0.0095 -0.1623)
OKLCHoklch(51.65% 0.163 266.7)
XYZxyz(15.9770, 13.1605, 53.9121)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC4 #C4A23D
analogous
#3DA2C4 #3D5FC4 #5E3DC4
triadic
#3D5FC4 #C43D5F #5FC43D
tetradic
#3D5FC4 #C43DA2 #C4A23D #3DC45E
square
#3D5FC4 #C43DA2 #C4A23D #3DC45E
split-complementary
#3D5FC4 #C45E3D #A2C43D
monochromatic
#1F3167 #2E4896 #3D5FC4 #6C86D2 #9BACE1

Accessibility & contrast

On white

5.78
#3D5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3D5FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC4#FFFFFF#000000##FFFFFF
##3D5FC41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206CC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d5fc4;
/* rgb */ color: rgb(61, 95, 196);
/* oklch */ color: oklch(51.6% 0.163 266.7);
Tailwind
colors: {
  custom: {
    50: '#828bd6',
    500: '#3d5fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc4;
$custom-light: #828bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc4",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 224.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51648,
    "c": 0.16257,
    "h": 266.7
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#3D5FC4
secondary
#CDBD90
accent
#B84BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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