#3D5AC2#3D5AC2

#3D5AC2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.166 H 268.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3D5AC2
RGBrgb(61, 90, 194)
HSLhsl(227, 52%, 50%)
HSVhsv(227, 69%, 76%)
CMYKcmyk(68.6%, 53.6%, 0%, 23.9%)
CIE-LABlab(41.53, 24.11, -57.72)
CIE-LCHlch(41.53, 62.55, 292.67°)
OKLaboklab(50.49% -0.0053 -0.166)
OKLCHoklch(50.49% 0.166 268.2)
XYZxyz(15.3149, 12.1980, 52.5758)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5AC2 #C2A53D
analogous
#3D9DC2 #3D5AC2 #623DC2
triadic
#3D5AC2 #C23D5A #5AC23D
tetradic
#3D5AC2 #C23D9D #C2A53D #3DC262
square
#3D5AC2 #C23D9D #C2A53D #3DC262
split-complementary
#3D5AC2 #C2623D #9DC23D
monochromatic
#202F65 #2E4493 #3D5AC2 #6C82D1 #9AA9DF

Accessibility & contrast

On white

6.11
#3D5AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3D5AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D5AC2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5AC2#FFFFFF#000000##FFFFFF
##3D5AC21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D68C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d5ac2;
/* rgb */ color: rgb(61, 90, 194);
/* oklch */ color: oklch(50.5% 0.166 268.2);
Tailwind
colors: {
  custom: {
    50: '#8288d5',
    500: '#3d5ac2',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ac2;
$custom-light: #8288d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ac2",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 226.917,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.16604,
    "h": 268.2
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#3D5AC2
secondary
#CBBE90
accent
#BC4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D5AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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