#3D52B2#3D52B2

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

Color values

HEX#3D52B2
RGBrgb(61, 82, 178)
HSLhsl(229, 49%, 47%)
HSVhsv(229, 66%, 70%)
CMYKcmyk(65.7%, 53.9%, 0%, 30.2%)
CIE-LABlab(38.27, 23.53, -53.62)
CIE-LCHlch(38.27, 58.56, 293.69°)
OKLaboklab(47.67% 0.0007 -0.154)
OKLCHoklch(47.67% 0.154 270.3)
XYZxyz(12.9749, 10.2399, 43.4036)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52B2 #B29D3D
analogous
#3D8DB2 #3D52B2 #633DB2
triadic
#3D52B2 #B23D52 #52B23D
tetradic
#3D52B2 #B23D8D #B29D3D #3DB263
square
#3D52B2 #B23D8D #B29D3D #3DB263
split-complementary
#3D52B2 #B2633D #8DB23D
monochromatic
#1E2857 #2D3D84 #3D52B2 #6375C9 #909DD9

Accessibility & contrast

On white

6.89
#3D52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3D52B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52B2#FFFFFF#000000##FFFFFF
##3D52B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d52b2;
/* rgb */ color: rgb(61, 82, 178);
/* oklch */ color: oklch(47.7% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f82ca',
    500: '#3d52b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d52b2;
$custom-light: #7f82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52b2",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 229.231,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.15403,
    "h": 270.3
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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