#3D5BBE#3D5BBE

#3D5BBE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.159 H 267.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3D5BBE
RGBrgb(61, 91, 190)
HSLhsl(226, 51%, 49%)
HSVhsv(226, 68%, 75%)
CMYKcmyk(67.9%, 52.1%, 0%, 25.5%)
CIE-LABlab(41.52, 22.02, -55.41)
CIE-LCHlch(41.52, 59.63, 291.67°)
OKLaboklab(50.39% -0.0065 -0.1592)
OKLCHoklch(50.39% 0.159 267.7)
XYZxyz(14.9566, 12.1905, 50.2700)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BBE #BEA03D
analogous
#3D9BBE #3D5BBE #603DBE
triadic
#3D5BBE #BE3D5B #5BBE3D
tetradic
#3D5BBE #BE3D9B #BEA03D #3DBE60
square
#3D5BBE #BE3D9B #BEA03D #3DBE60
split-complementary
#3D5BBE #BE603D #9BBE3D
monochromatic
#1F2F61 #2E4590 #3D5BBE #6981CF #98A8DE

Accessibility & contrast

On white

6.11
#3D5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3D5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BBE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BBE#FFFFFF#000000##FFFFFF
##3D5BBE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5bbe;
/* rgb */ color: rgb(61, 91, 190);
/* oklch */ color: oklch(50.4% 0.159 267.7);
Tailwind
colors: {
  custom: {
    50: '#8189d2',
    500: '#3d5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bbe;
$custom-light: #8189d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bbe",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 226.047,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.15929,
    "h": 267.7
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#3D5BBE
secondary
#C9BB8D
accent
#BA4DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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