#3D52C7#3D52C7

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

Color values

HEX#3D52C7
RGBrgb(61, 82, 199)
HSLhsl(231, 55%, 51%)
HSVhsv(231, 69%, 78%)
CMYKcmyk(69.3%, 58.8%, 0%, 22%)
CIE-LABlab(39.83, 31.03, -63.38)
CIE-LCHlch(39.83, 70.57, 296.09°)
OKLaboklab(49.33% 0.0015 -0.1827)
OKLCHoklch(49.33% 0.183 270.5)
XYZxyz(15.2471, 11.1487, 55.3701)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52C7 #C7B23D
analogous
#3D97C7 #3D52C7 #6D3DC7
triadic
#3D52C7 #C73D52 #52C73D
tetradic
#3D52C7 #C73D97 #C7B23D #3DC76D
square
#3D52C7 #C73D97 #C7B23D #3DC76D
split-complementary
#3D52C7 #C76D3D #97C73D
monochromatic
#1F2A6B #2D3D9A #3D52C7 #6C7CD5 #9CA7E2

Accessibility & contrast

On white

6.50
#3D52C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3D52C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52C7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52C7#FFFFFF#000000##FFFFFF
##3D52C71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d52c7;
/* rgb */ color: rgb(61, 82, 199);
/* oklch */ color: oklch(49.3% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#8482d9',
    500: '#3d52c7',
    950: '#000000',
  },
}
SCSS
$custom: #3d52c7;
$custom-light: #8482d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52c7",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 230.87,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.18273,
    "h": 270.5
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#3D52C7
secondary
#CEC591
accent
#C849DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3D52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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