#3D5BB7#3D5BB7

#3D5BB7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.150 H 267.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3D5BB7
RGBrgb(61, 91, 183)
HSLhsl(225, 50%, 48%)
HSVhsv(225, 67%, 72%)
CMYKcmyk(66.7%, 50.3%, 0%, 28.2%)
CIE-LABlab(41.04, 19.49, -52.09)
CIE-LCHlch(41.04, 55.61, 290.52°)
OKLaboklab(49.88% -0.0072 -0.1494)
OKLCHoklch(49.88% 0.15 267.2)
XYZxyz(14.2099, 11.8918, 46.3371)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BB7 #B7993D
analogous
#3D98B7 #3D5BB7 #5C3DB7
triadic
#3D5BB7 #B73D5B #5BB73D
tetradic
#3D5BB7 #B73D98 #B7993D #3DB75C
square
#3D5BB7 #B73D98 #B7993D #3DB75C
split-complementary
#3D5BB7 #B75C3D #98B73D
monochromatic
#1E2D5B #2E4489 #3D5BB7 #657FCC #93A5DB

Accessibility & contrast

On white

6.22
#3D5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3D5BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BB7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BB7#FFFFFF#000000##FFFFFF
##3D5BB71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BA
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5bb7;
/* rgb */ color: rgb(61, 91, 183);
/* oklch */ color: oklch(49.9% 0.150 267.2);
Tailwind
colors: {
  custom: {
    50: '#8089cd',
    500: '#3d5bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bb7;
$custom-light: #8089cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bb7",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 225.246,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.14955,
    "h": 267.2
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#3D5BB7
secondary
#C6B789
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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