#3A54BF#3A54BF

#3A54BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.170 H 268.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#3A54BF
RGBrgb(58, 84, 191)
HSLhsl(228, 53%, 49%)
HSVhsv(228, 70%, 75%)
CMYKcmyk(69.6%, 56%, 0%, 25.1%)
CIE-LABlab(39.58, 26.46, -59.14)
CIE-LCHlch(39.58, 64.78, 294.10°)
OKLaboklab(48.91% -0.0033 -0.1703)
OKLCHoklch(48.91% 0.17 268.9)
XYZxyz(14.3160, 11.0004, 50.6489)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54BF #BFA53A
analogous
#3A97BF #3A54BF #633ABF
triadic
#3A54BF #BF3A54 #54BF3A
tetradic
#3A54BF #BF3A97 #BFA53A #3ABF63
square
#3A54BF #BF3A97 #BFA53A #3ABF63
split-complementary
#3A54BF #BF633A #97BF3A
monochromatic
#1D2B61 #2C3F90 #3A54BF #667BD0 #95A3DF

Accessibility & contrast

On white

6.56
#3A54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3A54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54BF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54BF#FFFFFF#000000##FFFFFF
##3A54BF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a54bf;
/* rgb */ color: rgb(58, 84, 191);
/* oklch */ color: oklch(48.9% 0.170 268.9);
Tailwind
colors: {
  custom: {
    50: '#8183d3',
    500: '#3a54bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a54bf;
$custom-light: #8183d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54bf",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 228.271,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.17031,
    "h": 268.9
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#3A54BF
secondary
#CABE8B
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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