#3D52C8#3D52C8

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

Color values

HEX#3D52C8
RGBrgb(61, 82, 200)
HSLhsl(231, 56%, 51%)
HSVhsv(231, 70%, 78%)
CMYKcmyk(69.5%, 59%, 0%, 21.6%)
CIE-LABlab(39.91, 31.39, -63.83)
CIE-LCHlch(39.91, 71.13, 296.18°)
OKLaboklab(49.41% 0.0015 -0.184)
OKLCHoklch(49.41% 0.184 270.5)
XYZxyz(15.3635, 11.1953, 55.9836)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52C8 #C8B33D
analogous
#3D97C8 #3D52C8 #6D3DC8
triadic
#3D52C8 #C83D52 #52C83D
tetradic
#3D52C8 #C83D97 #C8B33D #3DC86D
square
#3D52C8 #C83D97 #C8B33D #3DC86D
split-complementary
#3D52C8 #C86D3D #97C83D
monochromatic
#1F2A6C #2C3D9C #3D52C8 #6D7DD6 #9CA7E3

Accessibility & contrast

On white

6.48
#3D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3D52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52C8#FFFFFF#000000##FFFFFF
##3D52C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3d52c8;
/* rgb */ color: rgb(61, 82, 200);
/* oklch */ color: oklch(49.4% 0.184 270.5);
Tailwind
colors: {
  custom: {
    50: '#8482da',
    500: '#3d52c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d52c8;
$custom-light: #8482da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52c8",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 230.935,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.18406,
    "h": 270.5
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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