#3D5FB3#3D5FB3

#3D5FB3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.139 H 265.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3D5FB3
RGBrgb(61, 95, 179)
HSLhsl(223, 49%, 47%)
HSVhsv(223, 66%, 70%)
CMYKcmyk(65.9%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.89, 15.47, -48.38)
CIE-LCHlch(41.89, 50.79, 287.73°)
OKLaboklab(50.44% -0.0116 -0.1384)
OKLCHoklch(50.44% 0.139 265.2)
XYZxyz(14.1505, 12.4299, 44.2926)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FB3 #B3913D
analogous
#3D9AB3 #3D5FB3 #563DB3
triadic
#3D5FB3 #B33D5F #5FB33D
tetradic
#3D5FB3 #B33D9A #B3913D #3DB356
square
#3D5FB3 #B33D9A #B3913D #3DB356
split-complementary
#3D5FB3 #B3563D #9AB33D
monochromatic
#1E2F58 #2D4785 #3D5FB3 #6381CA #91A6D9

Accessibility & contrast

On white

6.02
#3D5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3D5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FB3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FB3#FFFFFF#000000##FFFFFF
##3D5FB31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#1E5EB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5fb3;
/* rgb */ color: rgb(61, 95, 179);
/* oklch */ color: oklch(50.4% 0.139 265.2);
Tailwind
colors: {
  custom: {
    50: '#7f8bca',
    500: '#3d5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fb3;
$custom-light: #7f8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fb3",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 222.712,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.1389,
    "h": 265.2
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#3D5FB3
secondary
#C5B387
accent
#B14FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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