#3D5EA6#3D5EA6

#3D5EA6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.122 H 263.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3D5EA6
RGBrgb(61, 94, 166)
HSLhsl(221, 46%, 45%)
HSVhsv(221, 63%, 65%)
CMYKcmyk(63.3%, 43.4%, 0%, 34.9%)
CIE-LABlab(40.82, 11.45, -42.44)
CIE-LCHlch(40.82, 43.95, 285.09°)
OKLaboklab(49.36% -0.0128 -0.121)
OKLCHoklch(49.36% 0.122 263.9)
XYZxyz(12.8077, 11.7495, 37.6619)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EA6 #A6853D
analogous
#3D93A6 #3D5EA6 #513DA6
triadic
#3D5EA6 #A63D5E #5EA63D
tetradic
#3D5EA6 #A63D93 #A6853D #3DA651
square
#3D5EA6 #A63D93 #A6853D #3DA651
split-complementary
#3D5EA6 #A6513D #93A63D
monochromatic
#1C2B4C #2D4579 #3D5EA6 #5D7DC3 #8AA1D4

Accessibility & contrast

On white

6.27
#3D5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3D5EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5EA6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EA6#FFFFFF#000000##FFFFFF
##3D5EA61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#2D5CA4
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d5ea6;
/* rgb */ color: rgb(61, 94, 166);
/* oklch */ color: oklch(49.4% 0.122 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d8bc1',
    500: '#3d5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ea6;
$custom-light: #7d8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ea6",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 221.143,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.12164,
    "h": 263.9
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#3D5EA6
secondary
#BEAB80
accent
#AC52D6
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3D5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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