#3D5FBF#3D5FBF

#3D5FBF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.156 H 266.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3D5FBF
RGBrgb(61, 95, 191)
HSLhsl(224, 52%, 49%)
HSVhsv(224, 68%, 75%)
CMYKcmyk(68.1%, 50.3%, 0%, 25.1%)
CIE-LABlab(42.67, 19.81, -54.14)
CIE-LCHlch(42.67, 57.65, 290.10°)
OKLaboklab(51.29% -0.01 -0.1553)
OKLCHoklch(51.29% 0.156 266.3)
XYZxyz(15.4174, 12.9366, 50.9646)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FBF #BF9D3D
analogous
#3DA0BF #3D5FBF #5C3DBF
triadic
#3D5FBF #BF3D5F #5FBF3D
tetradic
#3D5FBF #BF3DA0 #BF9D3D #3DBF5C
square
#3D5FBF #BF3DA0 #BF9D3D #3DBF5C
split-complementary
#3D5FBF #BF5C3D #A0BF3D
monochromatic
#1F3162 #2E4891 #3D5FBF #6A84CF #98ABDE

Accessibility & contrast

On white

5.85
#3D5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3D5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FBF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FBF#FFFFFF#000000##FFFFFF
##3D5FBF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5fbf;
/* rgb */ color: rgb(61, 95, 191);
/* oklch */ color: oklch(51.3% 0.156 266.3);
Tailwind
colors: {
  custom: {
    50: '#818bd3',
    500: '#3d5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fbf;
$custom-light: #818bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fbf",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 224.308,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.15567,
    "h": 266.3
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#3D5FBF
secondary
#CABA8E
accent
#B64DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3D5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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