#3D5FC3#3D5FC3

#3D5FC3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.161 H 266.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3D5FC3
RGBrgb(61, 95, 195)
HSLhsl(225, 53%, 50%)
HSVhsv(225, 69%, 76%)
CMYKcmyk(68.7%, 51.3%, 0%, 23.5%)
CIE-LABlab(42.94, 21.26, -56.02)
CIE-LCHlch(42.94, 59.92, 290.78°)
OKLaboklab(51.58% -0.0096 -0.1609)
OKLCHoklch(51.58% 0.161 266.6)
XYZxyz(15.8636, 13.1151, 53.3146)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FC3 #C3A13D
analogous
#3DA2C3 #3D5FC3 #5E3DC3
triadic
#3D5FC3 #C33D5F #5FC33D
tetradic
#3D5FC3 #C33DA2 #C3A13D #3DC35E
square
#3D5FC3 #C33DA2 #C3A13D #3DC35E
split-complementary
#3D5FC3 #C35E3D #A2C33D
monochromatic
#203166 #2E4895 #3D5FC3 #6C86D1 #9AACE0

Accessibility & contrast

On white

5.80
#3D5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3D5FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FC3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FC3#FFFFFF#000000##FFFFFF
##3D5FC31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5fc3;
/* rgb */ color: rgb(61, 95, 195);
/* oklch */ color: oklch(51.6% 0.161 266.6);
Tailwind
colors: {
  custom: {
    50: '#828bd6',
    500: '#3d5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fc3;
$custom-light: #828bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fc3",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 224.776,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.16118,
    "h": 266.6
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#3D5FC3
secondary
#CCBD90
accent
#B74CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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