#3D52B3#3D52B3

#3D52B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.155 H 270.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3D52B3
RGBrgb(61, 82, 179)
HSLhsl(229, 49%, 47%)
HSVhsv(229, 66%, 70%)
CMYKcmyk(65.9%, 54.2%, 0%, 29.8%)
CIE-LABlab(38.34, 23.89, -54.10)
CIE-LCHlch(38.34, 59.14, 293.82°)
OKLaboklab(47.75% 0.0008 -0.1554)
OKLCHoklch(47.75% 0.155 270.3)
XYZxyz(13.0757, 10.2802, 43.9343)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52B3 #B39E3D
analogous
#3D8DB3 #3D52B3 #633DB3
triadic
#3D52B3 #B33D52 #52B33D
tetradic
#3D52B3 #B33D8D #B39E3D #3DB363
square
#3D52B3 #B33D8D #B39E3D #3DB363
split-complementary
#3D52B3 #B3633D #8DB33D
monochromatic
#1E2858 #2D3D85 #3D52B3 #6376CA #919ED9

Accessibility & contrast

On white

6.87
#3D52B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3D52B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52B3
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52B3#FFFFFF#000000##FFFFFF
##3D52B31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C60B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d52b3;
/* rgb */ color: rgb(61, 82, 179);
/* oklch */ color: oklch(47.7% 0.155 270.3);
Tailwind
colors: {
  custom: {
    50: '#8082ca',
    500: '#3d52b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d52b3;
$custom-light: #8082ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52b3",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 229.322,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.15543,
    "h": 270.3
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#3D52B3
secondary
#C5BA87
accent
#C04FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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