#3D5FB7#3D5FB7

#3D5FB7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.145 H 265.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3D5FB7
RGBrgb(61, 95, 183)
HSLhsl(223, 50%, 48%)
HSVhsv(223, 67%, 72%)
CMYKcmyk(66.7%, 48.1%, 0%, 28.2%)
CIE-LABlab(42.15, 16.91, -50.31)
CIE-LCHlch(42.15, 53.08, 288.58°)
OKLaboklab(50.72% -0.011 -0.1441)
OKLCHoklch(50.72% 0.145 265.6)
XYZxyz(14.5610, 12.5940, 46.4541)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FB7 #B7953D
analogous
#3D9CB7 #3D5FB7 #583DB7
triadic
#3D5FB7 #B73D5F #5FB73D
tetradic
#3D5FB7 #B73D9C #B7953D #3DB758
square
#3D5FB7 #B73D9C #B7953D #3DB758
split-complementary
#3D5FB7 #B7583D #9CB73D
monochromatic
#1E2F5B #2E4789 #3D5FB7 #6582CC #93A7DB

Accessibility & contrast

On white

5.97
#3D5FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3D5FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FB7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FB7#FFFFFF#000000##FFFFFF
##3D5FB71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169BA
Deuteranopia (green-blind)
#155EB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3d5fb7;
/* rgb */ color: rgb(61, 95, 183);
/* oklch */ color: oklch(50.7% 0.145 265.6);
Tailwind
colors: {
  custom: {
    50: '#808bcd',
    500: '#3d5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fb7;
$custom-light: #808bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fb7",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 223.279,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.14452,
    "h": 265.6
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#3D5FB7
secondary
#C6B589
accent
#B34EDA
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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