#3A53AB#3A53AB

#3A53AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.144 H 268.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3A53AB
RGBrgb(58, 83, 171)
HSLhsl(227, 49%, 45%)
HSVhsv(227, 66%, 67%)
CMYKcmyk(66.1%, 51.5%, 0%, 32.9%)
CIE-LABlab(37.89, 19.85, -50.11)
CIE-LCHlch(37.89, 53.90, 291.61°)
OKLaboklab(47.19% -0.0038 -0.1437)
OKLCHoklch(47.19% 0.144 268.5)
XYZxyz(12.1864, 10.0252, 39.8130)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A53AB #AB923A
analogous
#3A8BAB #3A53AB #5A3AAB
triadic
#3A53AB #AB3A53 #53AB3A
tetradic
#3A53AB #AB3A8B #AB923A #3AAB5A
square
#3A53AB #AB3A8B #AB923A #3AAB5A
split-complementary
#3A53AB #AB5A3A #8BAB3A
monochromatic
#1B2750 #2A3D7D #3A53AB #5B73C7 #899AD7

Accessibility & contrast

On white

6.99
#3A53AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A53AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A53AB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A53AB#FFFFFF#000000##FFFFFF
##3A53AB1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a53ab;
/* rgb */ color: rgb(58, 83, 171);
/* oklch */ color: oklch(47.2% 0.144 268.5);
Tailwind
colors: {
  custom: {
    50: '#7d83c5',
    500: '#3a53ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a53ab;
$custom-light: #7d83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a53ab",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 226.726,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.14378,
    "h": 268.5
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#3A53AB
secondary
#C1B380
accent
#BA4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A53AB

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

Preview Lab → · Contrast checker → · Palette generator →

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