#3D5BB2#3D5BB2

#3D5BB2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.143 H 266.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#3D5BB2
RGBrgb(61, 91, 178)
HSLhsl(225, 49%, 47%)
HSVhsv(225, 66%, 70%)
CMYKcmyk(65.7%, 48.9%, 0%, 30.2%)
CIE-LABlab(40.71, 17.69, -49.68)
CIE-LCHlch(40.71, 52.74, 289.60°)
OKLaboklab(49.53% -0.0078 -0.1423)
OKLCHoklch(49.53% 0.143 266.8)
XYZxyz(13.6987, 11.6874, 43.6448)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5BB2 #B2943D
analogous
#3D96B2 #3D5BB2 #593DB2
triadic
#3D5BB2 #B23D5B #5BB23D
tetradic
#3D5BB2 #B23D96 #B2943D #3DB259
square
#3D5BB2 #B23D96 #B2943D #3DB259
split-complementary
#3D5BB2 #B2593D #96B23D
monochromatic
#1E2C57 #2D4484 #3D5BB2 #637DC9 #90A3D9

Accessibility & contrast

On white

6.29
#3D5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3D5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5BB2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5BB2#FFFFFF#000000##FFFFFF
##3D5BB21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#115BB0
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d5bb2;
/* rgb */ color: rgb(61, 91, 178);
/* oklch */ color: oklch(49.5% 0.143 266.8);
Tailwind
colors: {
  custom: {
    50: '#7f89ca',
    500: '#3d5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5bb2;
$custom-light: #7f89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5bb2",
  "rgb": {
    "r": 61,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 224.615,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.14252,
    "h": 266.8
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#3D5BB2
secondary
#C4B487
accent
#B54FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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