#3D5FB2#3D5FB2

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

Color values

HEX#3D5FB2
RGBrgb(61, 95, 178)
HSLhsl(223, 49%, 47%)
HSVhsv(223, 66%, 70%)
CMYKcmyk(65.7%, 46.6%, 0%, 30.2%)
CIE-LABlab(41.83, 15.11, -47.89)
CIE-LCHlch(41.83, 50.22, 287.51°)
OKLaboklab(50.38% -0.0118 -0.137)
OKLCHoklch(50.38% 0.137 265.1)
XYZxyz(14.0498, 12.3896, 43.7619)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FB2 #B2903D
analogous
#3D9AB2 #3D5FB2 #563DB2
triadic
#3D5FB2 #B23D5F #5FB23D
tetradic
#3D5FB2 #B23D9A #B2903D #3DB256
square
#3D5FB2 #B23D9A #B2903D #3DB256
split-complementary
#3D5FB2 #B2563D #9AB23D
monochromatic
#1E2E57 #2D4784 #3D5FB2 #6381C9 #90A5D9

Accessibility & contrast

On white

6.04
#3D5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3D5FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FB2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FB2#FFFFFF#000000##FFFFFF
##3D5FB21.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5fb2;
/* rgb */ color: rgb(61, 95, 178);
/* oklch */ color: oklch(50.4% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f8bc9',
    500: '#3d5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fb2;
$custom-light: #7f8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fb2",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 222.564,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.13748,
    "h": 265.1
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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