#3A54BC#3A54BC

#3A54BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.166 H 268.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A54BC
RGBrgb(58, 84, 188)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 69%, 74%)
CMYKcmyk(69.1%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.36, 25.37, -57.74)
CIE-LCHlch(39.36, 63.07, 293.72°)
OKLaboklab(48.68% -0.0034 -0.1662)
OKLCHoklch(48.68% 0.166 268.8)
XYZxyz(13.9892, 10.8697, 48.9280)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54BC #BCA23A
analogous
#3A95BC #3A54BC #613ABC
triadic
#3A54BC #BC3A54 #54BC3A
tetradic
#3A54BC #BC3A95 #BCA23A #3ABC61
square
#3A54BC #BC3A95 #BCA23A #3ABC61
split-complementary
#3A54BC #BC613A #95BC3A
monochromatic
#1D2A5E #2C3F8D #3A54BC #6479CF #93A2DE

Accessibility & contrast

On white

6.62
#3A54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A54BC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54BC#FFFFFF#000000##FFFFFF
##3A54BC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a54bc;
/* rgb */ color: rgb(58, 84, 188);
/* oklch */ color: oklch(48.7% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#8083d1',
    500: '#3a54bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a54bc;
$custom-light: #8083d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54bc",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 228,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.16621,
    "h": 268.8
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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