#3D5FA6#3D5FA6

#3D5FA6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.120 H 263.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3D5FA6
RGBrgb(61, 95, 166)
HSLhsl(221, 46%, 45%)
HSVhsv(221, 63%, 65%)
CMYKcmyk(63.3%, 42.8%, 0%, 34.9%)
CIE-LABlab(41.10, 10.80, -41.98)
CIE-LCHlch(41.10, 43.35, 284.43°)
OKLaboklab(49.58% -0.0139 -0.1196)
OKLCHoklch(49.58% 0.12 263.4)
XYZxyz(12.8972, 11.9285, 37.6918)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FA6 #A6843D
analogous
#3D94A6 #3D5FA6 #4F3DA6
triadic
#3D5FA6 #A63D5F #5FA63D
tetradic
#3D5FA6 #A63D94 #A6843D #3DA64F
square
#3D5FA6 #A63D94 #A6843D #3DA64F
split-complementary
#3D5FA6 #A64F3D #94A63D
monochromatic
#1C2C4C #2D4579 #3D5FA6 #5D7EC3 #8AA2D4

Accessibility & contrast

On white

6.20
#3D5FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3D5FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FA6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FA6#FFFFFF#000000##FFFFFF
##3D5FA61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#2F5CA5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5fa6;
/* rgb */ color: rgb(61, 95, 166);
/* oklch */ color: oklch(49.6% 0.120 263.4);
Tailwind
colors: {
  custom: {
    50: '#7d8cc1',
    500: '#3d5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fa6;
$custom-light: #7d8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fa6",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 220.571,
    "s": 46.256,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.12041,
    "h": 263.4
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#3D5FA6
secondary
#BEAA80
accent
#AB52D6
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3D5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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