#3E52AF#3E52AF

#3E52AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.150 H 270.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3E52AF
RGBrgb(62, 82, 175)
HSLhsl(229, 48%, 46%)
HSVhsv(229, 65%, 69%)
CMYKcmyk(64.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(38.12, 22.63, -52.10)
CIE-LCHlch(38.12, 56.80, 293.48°)
OKLaboklab(47.5% 0.0015 -0.1495)
OKLCHoklch(47.5% 0.15 270.6)
XYZxyz(12.7392, 10.1527, 41.8375)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52AF #AF9B3E
analogous
#3E8BAF #3E52AF #633EAF
triadic
#3E52AF #AF3E52 #52AF3E
tetradic
#3E52AF #AF3E8B #AF9B3E #3EAF63
square
#3E52AF #AF3E8B #AF9B3E #3EAF63
split-complementary
#3E52AF #AF633E #8BAF3E
monochromatic
#1E2855 #2E3D82 #3E52AF #6374C8 #909DD8

Accessibility & contrast

On white

6.93
#3E52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3E52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E52AF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52AF#FFFFFF#000000##FFFFFF
##3E52AF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e52af;
/* rgb */ color: rgb(62, 82, 175);
/* oklch */ color: oklch(47.5% 0.150 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f82c7',
    500: '#3e52af',
    950: '#000000',
  },
}
SCSS
$custom: #3e52af;
$custom-light: #7f82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52af",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 229.381,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.14953,
    "h": 270.6
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#3E52AF
secondary
#C3B886
accent
#BF51D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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