#3D50B7#3D50B7

#3D50B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.164 H 271.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3D50B7
RGBrgb(61, 80, 183)
HSLhsl(231, 50%, 48%)
HSVhsv(231, 67%, 72%)
CMYKcmyk(66.7%, 56.3%, 0%, 28.2%)
CIE-LABlab(38.11, 26.61, -56.84)
CIE-LCHlch(38.11, 62.76, 295.09°)
OKLaboklab(47.66% 0.0028 -0.1635)
OKLCHoklch(47.66% 0.164 271)
XYZxyz(13.3375, 10.1471, 46.0463)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D50B7 #B7A43D
analogous
#3D8DB7 #3D50B7 #673DB7
triadic
#3D50B7 #B73D50 #50B73D
tetradic
#3D50B7 #B73D8D #B7A43D #3DB767
square
#3D50B7 #B73D8D #B7A43D #3DB767
split-complementary
#3D50B7 #B7673D #8DB73D
monochromatic
#1E285B #2E3C89 #3D50B7 #6575CC #939EDB

Accessibility & contrast

On white

6.93
#3D50B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3D50B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D50B7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D50B7#FFFFFF#000000##FFFFFF
##3D50B71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d50b7;
/* rgb */ color: rgb(61, 80, 183);
/* oklch */ color: oklch(47.7% 0.164 271.0);
Tailwind
colors: {
  custom: {
    50: '#8080cd',
    500: '#3d50b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d50b7;
$custom-light: #8080cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d50b7",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 230.656,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47664,
    "c": 0.16353,
    "h": 271
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#3D50B7
secondary
#C6BD89
accent
#C44EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3D50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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