#3D52B1#3D52B1

#3D52B1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.153 H 270.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3D52B1
RGBrgb(61, 82, 177)
HSLhsl(229, 49%, 47%)
HSVhsv(229, 66%, 69%)
CMYKcmyk(65.5%, 53.7%, 0%, 30.6%)
CIE-LABlab(38.20, 23.17, -53.15)
CIE-LCHlch(38.20, 57.98, 293.56°)
OKLaboklab(47.6% 0.0007 -0.1526)
OKLCHoklch(47.6% 0.153 270.2)
XYZxyz(12.8749, 10.1998, 42.8767)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52B1 #B19C3D
analogous
#3D8CB1 #3D52B1 #623DB1
triadic
#3D52B1 #B13D52 #52B13D
tetradic
#3D52B1 #B13D8C #B19C3D #3DB162
square
#3D52B1 #B13D8C #B19C3D #3DB162
split-complementary
#3D52B1 #B1623D #8CB13D
monochromatic
#1E2856 #2D3D83 #3D52B1 #6275C9 #909DD9

Accessibility & contrast

On white

6.91
#3D52B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3D52B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52B1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52B1#FFFFFF#000000##FFFFFF
##3D52B11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d52b1;
/* rgb */ color: rgb(61, 82, 177);
/* oklch */ color: oklch(47.6% 0.153 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f82c9',
    500: '#3d52b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d52b1;
$custom-light: #7f82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52b1",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 229.138,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.15263,
    "h": 270.2
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#3D52B1
secondary
#C4B986
accent
#C050D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D52B1

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

Preview Lab → · Contrast checker → · Palette generator →

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