#3D5FB1#3D5FB1

#3D5FB1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.136 H 265.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3D5FB1
RGBrgb(61, 95, 177)
HSLhsl(222, 49%, 47%)
HSVhsv(222, 66%, 69%)
CMYKcmyk(65.5%, 46.3%, 0%, 30.6%)
CIE-LABlab(41.77, 14.75, -47.40)
CIE-LCHlch(41.77, 49.65, 287.28°)
OKLaboklab(50.31% -0.0119 -0.1355)
OKLCHoklch(50.31% 0.136 265)
XYZxyz(13.9497, 12.3495, 43.2350)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FB1 #B18F3D
analogous
#3D99B1 #3D5FB1 #553DB1
triadic
#3D5FB1 #B13D5F #5FB13D
tetradic
#3D5FB1 #B13D99 #B18F3D #3DB155
square
#3D5FB1 #B13D99 #B18F3D #3DB155
split-complementary
#3D5FB1 #B1553D #99B13D
monochromatic
#1E2E56 #2D4783 #3D5FB1 #6280C9 #90A5D9

Accessibility & contrast

On white

6.05
#3D5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3D5FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FB1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FB1#FFFFFF#000000##FFFFFF
##3D5FB11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5fb1;
/* rgb */ color: rgb(61, 95, 177);
/* oklch */ color: oklch(50.3% 0.136 265.0);
Tailwind
colors: {
  custom: {
    50: '#7f8bc9',
    500: '#3d5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fb1;
$custom-light: #7f8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fb1",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 222.414,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.13607,
    "h": 265
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#3D5FB1
secondary
#C4B286
accent
#B050D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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