#3D5BC2#3D5BC2

#3D5BC2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.165 H 267.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3D5BC2
RGBrgb(61, 91, 194)
HSLhsl(226, 52%, 50%)
HSVhsv(226, 69%, 76%)
CMYKcmyk(68.6%, 53.1%, 0%, 23.9%)
CIE-LABlab(41.79, 23.47, -57.29)
CIE-LCHlch(41.79, 61.91, 292.27°)
OKLaboklab(50.69% -0.0062 -0.1647)
OKLCHoklch(50.69% 0.165 267.9)
XYZxyz(15.3998, 12.3678, 52.6041)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BC2 #C2A43D
analogous
#3D9EC2 #3D5BC2 #613DC2
triadic
#3D5BC2 #C23D5B #5BC23D
tetradic
#3D5BC2 #C23D9E #C2A43D #3DC261
square
#3D5BC2 #C23D9E #C2A43D #3DC261
split-complementary
#3D5BC2 #C2613D #9EC23D
monochromatic
#202F65 #2E4593 #3D5BC2 #6C82D1 #9AAADF

Accessibility & contrast

On white

6.05
#3D5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3D5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BC2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BC2#FFFFFF#000000##FFFFFF
##3D5BC21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5bc2;
/* rgb */ color: rgb(61, 91, 194);
/* oklch */ color: oklch(50.7% 0.165 267.9);
Tailwind
colors: {
  custom: {
    50: '#8289d5',
    500: '#3d5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bc2;
$custom-light: #8289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bc2",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 226.466,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.1648,
    "h": 267.9
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#3D5BC2
secondary
#CBBE90
accent
#BB4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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