#3D52C6#3D52C6

#3D52C6 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.181 H 270.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#3D52C6
RGBrgb(61, 82, 198)
HSLhsl(231, 55%, 51%)
HSVhsv(231, 69%, 78%)
CMYKcmyk(69.2%, 58.6%, 0%, 22.4%)
CIE-LABlab(39.75, 30.68, -62.92)
CIE-LCHlch(39.75, 70.00, 295.99°)
OKLaboklab(49.25% 0.0015 -0.1814)
OKLCHoklch(49.25% 0.181 270.5)
XYZxyz(15.1313, 11.1024, 54.7607)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52C6 #C6B13D
analogous
#3D96C6 #3D52C6 #6C3DC6
triadic
#3D52C6 #C63D52 #52C63D
tetradic
#3D52C6 #C63D96 #C6B13D #3DC66C
square
#3D52C6 #C63D96 #C6B13D #3DC66C
split-complementary
#3D52C6 #C66C3D #96C63D
monochromatic
#1F2A6A #2D3D99 #3D52C6 #6C7CD4 #9CA6E2

Accessibility & contrast

On white

6.52
#3D52C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3D52C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52C6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52C6#FFFFFF#000000##FFFFFF
##3D52C61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d52c6;
/* rgb */ color: rgb(61, 82, 198);
/* oklch */ color: oklch(49.3% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#8382d8',
    500: '#3d52c6',
    950: '#000000',
  },
}
SCSS
$custom: #3d52c6;
$custom-light: #8382d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52c6",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 230.803,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.18139,
    "h": 270.5
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#3D52C6
secondary
#CEC491
accent
#C74ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D52C6

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

Preview Lab → · Contrast checker → · Palette generator →

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