#3E52AA#3E52AA

#3E52AA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.142 H 270.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3E52AA
RGBrgb(62, 82, 170)
HSLhsl(229, 47%, 45%)
HSVhsv(229, 64%, 67%)
CMYKcmyk(63.5%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.77, 20.84, -49.69)
CIE-LCHlch(37.77, 53.88, 292.76°)
OKLaboklab(47.13% 0.0011 -0.1424)
OKLCHoklch(47.13% 0.142 270.4)
XYZxyz(12.2572, 9.9599, 39.2989)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E52AA #AA963E
analogous
#3E88AA #3E52AA #603EAA
triadic
#3E52AA #AA3E52 #52AA3E
tetradic
#3E52AA #AA3E88 #AA963E #3EAA60
square
#3E52AA #AA3E88 #AA963E #3EAA60
split-complementary
#3E52AA #AA603E #88AA3E
monochromatic
#1D2750 #2E3C7D #3E52AA #6073C5 #8D9AD5

Accessibility & contrast

On white

7.02
#3E52AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3E52AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E52AA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E52AA#FFFFFF#000000##FFFFFF
##3E52AA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e52aa;
/* rgb */ color: rgb(62, 82, 170);
/* oklch */ color: oklch(47.1% 0.142 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e82c4',
    500: '#3e52aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e52aa;
$custom-light: #7e82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e52aa",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 228.889,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.14243,
    "h": 270.4
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#3E52AA
secondary
#C0B584
accent
#BE52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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