#3D5FBD#3D5FBD

#3D5FBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.153 H 266.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3D5FBD
RGBrgb(61, 95, 189)
HSLhsl(224, 51%, 49%)
HSVhsv(224, 68%, 74%)
CMYKcmyk(67.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.54, 19.08, -53.19)
CIE-LCHlch(42.54, 56.51, 289.74°)
OKLaboklab(51.14% -0.0102 -0.1525)
OKLCHoklch(51.14% 0.153 266.2)
XYZxyz(15.1988, 12.8492, 49.8134)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FBD #BD9B3D
analogous
#3D9FBD #3D5FBD #5B3DBD
triadic
#3D5FBD #BD3D5F #5FBD3D
tetradic
#3D5FBD #BD3D9F #BD9B3D #3DBD5B
square
#3D5FBD #BD3D9F #BD9B3D #3DBD5B
split-complementary
#3D5FBD #BD5B3D #9FBD3D
monochromatic
#1F3060 #2E488F #3D5FBD #6984CE #97AADD

Accessibility & contrast

On white

5.88
#3D5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3D5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FBD#FFFFFF#000000##FFFFFF
##3D5FBD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5fbd;
/* rgb */ color: rgb(61, 95, 189);
/* oklch */ color: oklch(51.1% 0.153 266.2);
Tailwind
colors: {
  custom: {
    50: '#818bd1',
    500: '#3d5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fbd;
$custom-light: #818bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fbd",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 224.063,
    "s": 51.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.15289,
    "h": 266.2
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#3D5FBD
secondary
#C9B98D
accent
#B54DDB
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3D5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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