#3D5AC1#3D5AC1

#3D5AC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.165 H 268.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3D5AC1
RGBrgb(61, 90, 193)
HSLhsl(227, 52%, 50%)
HSVhsv(227, 68%, 76%)
CMYKcmyk(68.4%, 53.4%, 0%, 24.3%)
CIE-LABlab(41.46, 23.75, -57.25)
CIE-LCHlch(41.46, 61.98, 292.53°)
OKLaboklab(50.41% -0.0054 -0.1646)
OKLCHoklch(50.41% 0.165 268.1)
XYZxyz(15.2030, 12.1532, 51.9863)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5AC1 #C1A43D
analogous
#3D9CC1 #3D5AC1 #623DC1
triadic
#3D5AC1 #C13D5A #5AC13D
tetradic
#3D5AC1 #C13D9C #C1A43D #3DC162
square
#3D5AC1 #C13D9C #C1A43D #3DC162
split-complementary
#3D5AC1 #C1623D #9CC13D
monochromatic
#202F64 #2E4492 #3D5AC1 #6B81D0 #99A9DF

Accessibility & contrast

On white

6.12
#3D5AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3D5AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5AC1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5AC1#FFFFFF#000000##FFFFFF
##3D5AC11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1168C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5ac1;
/* rgb */ color: rgb(61, 90, 193);
/* oklch */ color: oklch(50.4% 0.165 268.1);
Tailwind
colors: {
  custom: {
    50: '#8288d4',
    500: '#3d5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ac1;
$custom-light: #8288d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ac1",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 226.818,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.16468,
    "h": 268.1
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#3D5AC1
secondary
#CBBE8F
accent
#BC4CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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