#3A52BE#3A52BE

#3A52BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.171 H 269.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3A52BE
RGBrgb(58, 82, 190)
HSLhsl(229, 53%, 49%)
HSVhsv(229, 69%, 75%)
CMYKcmyk(69.5%, 56.8%, 0%, 25.5%)
CIE-LABlab(38.99, 27.39, -59.52)
CIE-LCHlch(38.99, 65.52, 294.71°)
OKLaboklab(48.44% -0.0017 -0.1714)
OKLCHoklch(48.44% 0.171 269.4)
XYZxyz(14.0533, 10.6505, 50.0203)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A52BE #BEA63A
analogous
#3A94BE #3A52BE #643ABE
triadic
#3A52BE #BE3A52 #52BE3A
tetradic
#3A52BE #BE3A94 #BEA63A #3ABE64
square
#3A52BE #BE3A94 #BEA63A #3ABE64
split-complementary
#3A52BE #BE643A #94BE3A
monochromatic
#1D2A60 #2C3E8F #3A52BE #6579D0 #94A2DE

Accessibility & contrast

On white

6.71
#3A52BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3A52BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A52BE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A52BE#FFFFFF#000000##FFFFFF
##3A52BE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a52be;
/* rgb */ color: rgb(58, 82, 190);
/* oklch */ color: oklch(48.4% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#8082d2',
    500: '#3a52be',
    950: '#000000',
  },
}
SCSS
$custom: #3a52be;
$custom-light: #8082d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a52be",
  "rgb": {
    "r": 58,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 229.091,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.17145,
    "h": 269.4
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#3A52BE
secondary
#CABE8A
accent
#C24BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A52BE

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

Preview Lab → · Contrast checker → · Palette generator →

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