#3D5FA4#3D5FA4

#3D5FA4 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.5% C 0.118 H 263.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3D5FA4
RGBrgb(61, 95, 164)
HSLhsl(220, 46%, 44%)
HSVhsv(220, 63%, 64%)
CMYKcmyk(62.8%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.99, 10.09, -40.98)
CIE-LCHlch(40.99, 42.20, 283.83°)
OKLaboklab(49.46% -0.0143 -0.1167)
OKLCHoklch(49.46% 0.118 263)
XYZxyz(12.7152, 11.8557, 36.7331)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5FA4 #A4823D
analogous
#3D93A4 #3D5FA4 #4F3DA4
triadic
#3D5FA4 #A43D5F #5FA43D
tetradic
#3D5FA4 #A43D93 #A4823D #3DA44F
square
#3D5FA4 #A43D93 #A4823D #3DA44F
split-complementary
#3D5FA4 #A44F3D #93A43D
monochromatic
#1C2B4B #2C4577 #3D5FA4 #5C7EC2 #88A1D3

Accessibility & contrast

On white

6.23
#3D5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3D5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5FA4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5FA4#FFFFFF#000000##FFFFFF
##3D5FA41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A7
Deuteranopia (green-blind)
#315CA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5fa4;
/* rgb */ color: rgb(61, 95, 164);
/* oklch */ color: oklch(49.5% 0.118 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c8cbf',
    500: '#3d5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3d5fa4;
$custom-light: #7c8cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5fa4",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 220.194,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.11754,
    "h": 263
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#3D5FA4
secondary
#BDA97F
accent
#AA52D5
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3D5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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