#3D5FBB#3D5FBB

#3D5FBB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.0% C 0.150 H 266.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3D5FBB
RGBrgb(61, 95, 187)
HSLhsl(224, 51%, 49%)
HSVhsv(224, 67%, 73%)
CMYKcmyk(67.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(42.40, 18.36, -52.23)
CIE-LCHlch(42.40, 55.36, 289.37°)
OKLaboklab(51% -0.0105 -0.1497)
OKLCHoklch(51% 0.15 266)
XYZxyz(14.9832, 12.7629, 48.6779)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FBB #BB993D
analogous
#3D9EBB #3D5FBB #5A3DBB
triadic
#3D5FBB #BB3D5F #5FBB3D
tetradic
#3D5FBB #BB3D9E #BB993D #3DBB5A
square
#3D5FBB #BB3D9E #BB993D #3DBB5A
split-complementary
#3D5FBB #BB5A3D #9EBB3D
monochromatic
#1F305F #2E488D #3D5FBB #6883CE #96A9DD

Accessibility & contrast

On white

5.91
#3D5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3D5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FBB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FBB#FFFFFF#000000##FFFFFF
##3D5FBB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#085FB9
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d5fbb;
/* rgb */ color: rgb(61, 95, 187);
/* oklch */ color: oklch(51.0% 0.150 266.0);
Tailwind
colors: {
  custom: {
    50: '#808bd0',
    500: '#3d5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fbb;
$custom-light: #808bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fbb",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 223.81,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51,
    "c": 0.15012,
    "h": 266
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#3D5FBB
secondary
#C8B88C
accent
#B44EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3D5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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