#3D5FBE#3D5FBE

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

Color values

HEX#3D5FBE
RGBrgb(61, 95, 190)
HSLhsl(224, 51%, 49%)
HSVhsv(224, 68%, 75%)
CMYKcmyk(67.9%, 50%, 0%, 25.5%)
CIE-LABlab(42.60, 19.45, -53.66)
CIE-LCHlch(42.60, 57.08, 289.92°)
OKLaboklab(51.21% -0.0101 -0.1539)
OKLCHoklch(51.21% 0.154 266.2)
XYZxyz(15.3077, 12.8927, 50.3870)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FBE #BE9C3D
analogous
#3DA0BE #3D5FBE #5C3DBE
triadic
#3D5FBE #BE3D5F #5FBE3D
tetradic
#3D5FBE #BE3DA0 #BE9C3D #3DBE5C
square
#3D5FBE #BE3DA0 #BE9C3D #3DBE5C
split-complementary
#3D5FBE #BE5C3D #A0BE3D
monochromatic
#1F3161 #2E4890 #3D5FBE #6984CF #98AADE

Accessibility & contrast

On white

5.87
#3D5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3D5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FBE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FBE#FFFFFF#000000##FFFFFF
##3D5FBE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d5fbe;
/* rgb */ color: rgb(61, 95, 190);
/* oklch */ color: oklch(51.2% 0.154 266.2);
Tailwind
colors: {
  custom: {
    50: '#818bd2',
    500: '#3d5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fbe;
$custom-light: #818bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fbe",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 224.186,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.15428,
    "h": 266.2
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#3D5FBE
secondary
#C9BA8D
accent
#B54DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3D5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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