#3D5BC4#3D5BC4

#3D5BC4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.168 H 267.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3D5BC4
RGBrgb(61, 91, 196)
HSLhsl(227, 53%, 50%)
HSVhsv(227, 69%, 77%)
CMYKcmyk(68.9%, 53.6%, 0%, 23.1%)
CIE-LABlab(41.94, 24.19, -58.22)
CIE-LCHlch(41.94, 63.04, 292.56°)
OKLaboklab(50.84% -0.006 -0.1674)
OKLCHoklch(50.84% 0.168 267.9)
XYZxyz(15.6259, 12.4583, 53.7950)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BC4 #C4A63D
analogous
#3D9EC4 #3D5BC4 #633DC4
triadic
#3D5BC4 #C43D5B #5BC43D
tetradic
#3D5BC4 #C43D9E #C4A63D #3DC463
square
#3D5BC4 #C43D9E #C4A63D #3DC463
split-complementary
#3D5BC4 #C4633D #9EC43D
monochromatic
#1F2F67 #2E4596 #3D5BC4 #6C83D2 #9BAAE1

Accessibility & contrast

On white

6.01
#3D5BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3D5BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BC4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BC4#FFFFFF#000000##FFFFFF
##3D5BC41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D69C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5bc4;
/* rgb */ color: rgb(61, 91, 196);
/* oklch */ color: oklch(50.8% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#8289d7',
    500: '#3d5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bc4;
$custom-light: #8289d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bc4",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 226.667,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.16754,
    "h": 267.9
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#3D5BC4
secondary
#CDBF90
accent
#BC4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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