#3D5BB6#3D5BB6

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

Color values

HEX#3D5BB6
RGBrgb(61, 91, 182)
HSLhsl(225, 50%, 48%)
HSVhsv(225, 66%, 71%)
CMYKcmyk(66.5%, 50%, 0%, 28.6%)
CIE-LABlab(40.98, 19.13, -51.61)
CIE-LCHlch(40.98, 55.04, 290.34°)
OKLaboklab(49.81% -0.0073 -0.148)
OKLCHoklch(49.81% 0.148 267.2)
XYZxyz(14.1061, 11.8503, 45.7909)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BB6 #B6983D
analogous
#3D97B6 #3D5BB6 #5C3DB6
triadic
#3D5BB6 #B63D5B #5BB63D
tetradic
#3D5BB6 #B63D97 #B6983D #3DB65C
square
#3D5BB6 #B63D97 #B6983D #3DB65C
split-complementary
#3D5BB6 #B65C3D #97B63D
monochromatic
#1E2D5A #2E4488 #3D5BB6 #657ECB #93A5DB

Accessibility & contrast

On white

6.23
#3D5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3D5BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BB6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BB6#FFFFFF#000000##FFFFFF
##3D5BB61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B9
Deuteranopia (green-blind)
#025BB4
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5bb6;
/* rgb */ color: rgb(61, 91, 182);
/* oklch */ color: oklch(49.8% 0.148 267.2);
Tailwind
colors: {
  custom: {
    50: '#8089cc',
    500: '#3d5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bb6;
$custom-light: #8089cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bb6",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 225.124,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.14815,
    "h": 267.2
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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