#3E52BD#3E52BD

#3E52BD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.169 H 270.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3E52BD
RGBrgb(62, 82, 189)
HSLhsl(231, 51%, 49%)
HSVhsv(231, 67%, 74%)
CMYKcmyk(67.2%, 56.6%, 0%, 25.9%)
CIE-LABlab(39.12, 27.62, -58.70)
CIE-LCHlch(39.12, 64.87, 295.20°)
OKLaboklab(48.58% 0.0023 -0.1689)
OKLCHoklch(48.58% 0.169 270.8)
XYZxyz(14.1861, 10.7315, 49.4580)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52BD #BDA93E
analogous
#3E92BD #3E52BD #6A3EBD
triadic
#3E52BD #BD3E52 #52BD3E
tetradic
#3E52BD #BD3E92 #BDA93E #3EBD6A
square
#3E52BD #BD3E92 #BDA93E #3EBD6A
split-complementary
#3E52BD #BD6A3E #92BD3E
monochromatic
#202A61 #2F3E8F #3E52BD #6A7ACE #98A3DD

Accessibility & contrast

On white

6.67
#3E52BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3E52BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52BD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52BD#FFFFFF#000000##FFFFFF
##3E52BD1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e52bd;
/* rgb */ color: rgb(62, 82, 189);
/* oklch */ color: oklch(48.6% 0.169 270.8);
Tailwind
colors: {
  custom: {
    50: '#8282d2',
    500: '#3e52bd',
    950: '#000000',
  },
}
SCSS
$custom: #3e52bd;
$custom-light: #8282d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52bd",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 230.551,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48582,
    "c": 0.16896,
    "h": 270.8
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#3E52BD
secondary
#C9C08E
accent
#C44EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3E52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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