#3A54BD#3A54BD

#3A54BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.168 H 268.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#3A54BD
RGBrgb(58, 84, 189)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 69%, 74%)
CMYKcmyk(69.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.43, 25.73, -58.21)
CIE-LCHlch(39.43, 63.64, 293.85°)
OKLaboklab(48.76% -0.0034 -0.1675)
OKLCHoklch(48.76% 0.168 268.9)
XYZxyz(14.0974, 10.9129, 49.4977)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54BD #BDA33A
analogous
#3A95BD #3A54BD #623ABD
triadic
#3A54BD #BD3A54 #54BD3A
tetradic
#3A54BD #BD3A95 #BDA33A #3ABD62
square
#3A54BD #BD3A95 #BDA33A #3ABD62
split-complementary
#3A54BD #BD623A #95BD3A
monochromatic
#1D2A5F #2C3F8E #3A54BD #657AD0 #93A2DE

Accessibility & contrast

On white

6.60
#3A54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3A54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54BD#FFFFFF#000000##FFFFFF
##3A54BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a54bd;
/* rgb */ color: rgb(58, 84, 189);
/* oklch */ color: oklch(48.8% 0.168 268.9);
Tailwind
colors: {
  custom: {
    50: '#8083d2',
    500: '#3a54bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a54bd;
$custom-light: #8083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54bd",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 228.092,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.16758,
    "h": 268.9
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#3A54BD
secondary
#C9BD8A
accent
#C04BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3A54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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