#3D52B7#3D52B7

#3D52B7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.161 H 270.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#3D52B7
RGBrgb(61, 82, 183)
HSLhsl(230, 50%, 48%)
HSVhsv(230, 67%, 72%)
CMYKcmyk(66.7%, 55.2%, 0%, 28.2%)
CIE-LABlab(38.63, 25.32, -55.99)
CIE-LCHlch(38.63, 61.45, 294.33°)
OKLaboklab(48.06% 0.001 -0.161)
OKLCHoklch(48.06% 0.161 270.4)
XYZxyz(13.4861, 10.4443, 46.0958)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D52B7 #B7A23D
analogous
#3D8FB7 #3D52B7 #653DB7
triadic
#3D52B7 #B73D52 #52B73D
tetradic
#3D52B7 #B73D8F #B7A23D #3DB765
square
#3D52B7 #B73D8F #B7A23D #3DB765
split-complementary
#3D52B7 #B7653D #8FB73D
monochromatic
#1E295B #2E3D89 #3D52B7 #6577CC #93A0DB

Accessibility & contrast

On white

6.80
#3D52B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3D52B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D52B7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D52B7#FFFFFF#000000##FFFFFF
##3D52B71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d52b7;
/* rgb */ color: rgb(61, 82, 183);
/* oklch */ color: oklch(48.1% 0.161 270.4);
Tailwind
colors: {
  custom: {
    50: '#8082cd',
    500: '#3d52b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d52b7;
$custom-light: #8082cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d52b7",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 229.672,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.16099,
    "h": 270.4
  },
  "luminance": 0.10446
}

Semantic roles & 50–950 ramp

primary
#3D52B7
secondary
#C6BC89
accent
#C24EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3D52B7

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

Preview Lab → · Contrast checker → · Palette generator →

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