#3D52C3#3D52C3

#3D52C3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.177 H 270.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3D52C3
RGBrgb(61, 82, 195)
HSLhsl(231, 53%, 50%)
HSVhsv(231, 69%, 76%)
CMYKcmyk(68.7%, 57.9%, 0%, 23.5%)
CIE-LABlab(39.52, 29.61, -61.56)
CIE-LCHlch(39.52, 68.31, 295.69°)
OKLaboklab(49.01% 0.0014 -0.1774)
OKLCHoklch(49.01% 0.177 270.5)
XYZxyz(14.7887, 10.9654, 52.9563)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52C3 #C3AE3D
analogous
#3D95C3 #3D52C3 #6B3DC3
triadic
#3D52C3 #C33D52 #52C33D
tetradic
#3D52C3 #C33D95 #C3AE3D #3DC36B
square
#3D52C3 #C33D95 #C3AE3D #3DC36B
split-complementary
#3D52C3 #C36B3D #95C33D
monochromatic
#202B66 #2E3E95 #3D52C3 #6C7CD1 #9AA5E0

Accessibility & contrast

On white

6.58
#3D52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3D52C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52C3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52C3#FFFFFF#000000##FFFFFF
##3D52C31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d52c3;
/* rgb */ color: rgb(61, 82, 195);
/* oklch */ color: oklch(49.0% 0.177 270.5);
Tailwind
colors: {
  custom: {
    50: '#8382d6',
    500: '#3d52c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d52c3;
$custom-light: #8382d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52c3",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 230.597,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.17737,
    "h": 270.5
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#3D52C3
secondary
#CCC290
accent
#C64CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D52C3

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

Preview Lab → · Contrast checker → · Palette generator →

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