#3D52C0#3D52C0

#3D52C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.173 H 270.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3D52C0
RGBrgb(61, 82, 192)
HSLhsl(230, 52%, 50%)
HSVhsv(230, 68%, 75%)
CMYKcmyk(68.2%, 57.3%, 0%, 24.7%)
CIE-LABlab(39.29, 28.54, -60.18)
CIE-LCHlch(39.29, 66.60, 295.37°)
OKLaboklab(48.77% 0.0014 -0.1733)
OKLCHoklch(48.77% 0.173 270.5)
XYZxyz(14.4530, 10.8311, 51.1879)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52C0 #C0AB3D
analogous
#3D93C0 #3D52C0 #6A3DC0
triadic
#3D52C0 #C03D52 #52C03D
tetradic
#3D52C0 #C03D93 #C0AB3D #3DC06A
square
#3D52C0 #C03D93 #C0AB3D #3DC06A
split-complementary
#3D52C0 #C06A3D #93C03D
monochromatic
#1F2A63 #2E3E92 #3D52C0 #6A7BD0 #99A4DF

Accessibility & contrast

On white

6.63
#3D52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3D52C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52C0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52C0#FFFFFF#000000##FFFFFF
##3D52C01.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d52c0;
/* rgb */ color: rgb(61, 82, 192);
/* oklch */ color: oklch(48.8% 0.173 270.5);
Tailwind
colors: {
  custom: {
    50: '#8282d4',
    500: '#3d52c0',
    950: '#000000',
  },
}
SCSS
$custom: #3d52c0;
$custom-light: #8282d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52c0",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 230.382,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.17332,
    "h": 270.5
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#3D52C0
secondary
#CAC18E
accent
#C44DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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