#3D5BB5#3D5BB5

#3D5BB5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.147 H 267.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3D5BB5
RGBrgb(61, 91, 181)
HSLhsl(225, 50%, 47%)
HSVhsv(225, 66%, 71%)
CMYKcmyk(66.3%, 49.7%, 0%, 29%)
CIE-LABlab(40.91, 18.77, -51.13)
CIE-LCHlch(40.91, 54.46, 290.16°)
OKLaboklab(49.74% -0.0075 -0.1466)
OKLCHoklch(49.74% 0.147 267.1)
XYZxyz(14.0032, 11.8092, 45.2485)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BB5 #B5973D
analogous
#3D97B5 #3D5BB5 #5B3DB5
triadic
#3D5BB5 #B53D5B #5BB53D
tetradic
#3D5BB5 #B53D97 #B5973D #3DB55B
square
#3D5BB5 #B53D97 #B5973D #3DB55B
split-complementary
#3D5BB5 #B55B3D #97B53D
monochromatic
#1E2D59 #2E4487 #3D5BB5 #647ECB #92A4DA

Accessibility & contrast

On white

6.25
#3D5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3D5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BB5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BB5#FFFFFF#000000##FFFFFF
##3D5BB51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#065BB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d5bb5;
/* rgb */ color: rgb(61, 91, 181);
/* oklch */ color: oklch(49.7% 0.147 267.1);
Tailwind
colors: {
  custom: {
    50: '#7f89cc',
    500: '#3d5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bb5;
$custom-light: #7f89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bb5",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 225,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.14674,
    "h": 267.1
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#3D5BB5
secondary
#C5B688
accent
#B74FD9
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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