#3A54BB#3A54BB

#3A54BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.165 H 268.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3A54BB
RGBrgb(58, 84, 187)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 69%, 73%)
CMYKcmyk(69%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.29, 25.01, -57.27)
CIE-LCHlch(39.29, 62.50, 293.59°)
OKLaboklab(48.6% -0.0035 -0.1648)
OKLCHoklch(48.6% 0.165 268.8)
XYZxyz(13.8818, 10.8267, 48.3623)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54BB #BBA13A
analogous
#3A94BB #3A54BB #603ABB
triadic
#3A54BB #BB3A54 #54BB3A
tetradic
#3A54BB #BB3A94 #BBA13A #3ABB60
square
#3A54BB #BB3A94 #BBA13A #3ABB60
split-complementary
#3A54BB #BB603A #94BB3A
monochromatic
#1D2A5E #2C3F8C #3A54BB #6379CF #92A1DD

Accessibility & contrast

On white

6.63
#3A54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54BB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54BB#FFFFFF#000000##FFFFFF
##3A54BB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a54bb;
/* rgb */ color: rgb(58, 84, 187);
/* oklch */ color: oklch(48.6% 0.165 268.8);
Tailwind
colors: {
  custom: {
    50: '#8083d0',
    500: '#3a54bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a54bb;
$custom-light: #8083d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54bb",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 227.907,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.486,
    "c": 0.16485,
    "h": 268.8
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#3A54BB
secondary
#C8BB88
accent
#BF4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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