#3D5AB2#3D5AB2

#3D5AB2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.144 H 267.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3D5AB2
RGBrgb(61, 90, 178)
HSLhsl(225, 49%, 47%)
HSVhsv(225, 66%, 70%)
CMYKcmyk(65.7%, 49.4%, 0%, 30.2%)
CIE-LABlab(40.44, 18.34, -50.12)
CIE-LCHlch(40.44, 53.37, 290.09°)
OKLaboklab(49.32% -0.0069 -0.1436)
OKLCHoklch(49.32% 0.144 267.3)
XYZxyz(13.6138, 11.5175, 43.6165)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5AB2 #B2953D
analogous
#3D95B2 #3D5AB2 #5B3DB2
triadic
#3D5AB2 #B23D5A #5AB23D
tetradic
#3D5AB2 #B23D95 #B2953D #3DB25B
square
#3D5AB2 #B23D95 #B2953D #3DB25B
split-complementary
#3D5AB2 #B25B3D #95B23D
monochromatic
#1E2C57 #2D4384 #3D5AB2 #637CC9 #90A2D9

Accessibility & contrast

On white

6.36
#3D5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3D5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5AB2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5AB2#FFFFFF#000000##FFFFFF
##3D5AB21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d5ab2;
/* rgb */ color: rgb(61, 90, 178);
/* oklch */ color: oklch(49.3% 0.144 267.3);
Tailwind
colors: {
  custom: {
    50: '#7f88ca',
    500: '#3d5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ab2;
$custom-light: #7f88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ab2",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 225.128,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.14378,
    "h": 267.3
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#3D5AB2
secondary
#C4B587
accent
#B64FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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