#3D5FB5#3D5FB5

#3D5FB5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.142 H 265.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3D5FB5
RGBrgb(61, 95, 181)
HSLhsl(223, 50%, 47%)
HSVhsv(223, 66%, 71%)
CMYKcmyk(66.3%, 47.5%, 0%, 29%)
CIE-LABlab(42.02, 16.19, -49.35)
CIE-LCHlch(42.02, 51.94, 288.17°)
OKLaboklab(50.58% -0.0113 -0.1413)
OKLCHoklch(50.58% 0.142 265.4)
XYZxyz(14.3543, 12.5114, 45.3656)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FB5 #B5933D
analogous
#3D9BB5 #3D5FB5 #573DB5
triadic
#3D5FB5 #B53D5F #5FB53D
tetradic
#3D5FB5 #B53D9B #B5933D #3DB557
square
#3D5FB5 #B53D9B #B5933D #3DB557
split-complementary
#3D5FB5 #B5573D #9BB53D
monochromatic
#1E2F59 #2E4787 #3D5FB5 #6481CB #92A7DA

Accessibility & contrast

On white

6.00
#3D5FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3D5FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FB5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FB5#FFFFFF#000000##FFFFFF
##3D5FB51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5fb5;
/* rgb */ color: rgb(61, 95, 181);
/* oklch */ color: oklch(50.6% 0.142 265.4);
Tailwind
colors: {
  custom: {
    50: '#7f8bcc',
    500: '#3d5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fb5;
$custom-light: #7f8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fb5",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 223,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.14171,
    "h": 265.4
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#3D5FB5
secondary
#C5B488
accent
#B24FD9
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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