#3A55BD#3A55BD

#3A55BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.166 H 268.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3A55BD
RGBrgb(58, 85, 189)
HSLhsl(228, 53%, 48%)
HSVhsv(228, 69%, 74%)
CMYKcmyk(69.3%, 55%, 0%, 25.9%)
CIE-LABlab(39.70, 25.08, -57.78)
CIE-LCHlch(39.70, 62.99, 293.47°)
OKLaboklab(48.95% -0.0042 -0.1663)
OKLCHoklch(48.95% 0.166 268.6)
XYZxyz(14.1756, 11.0693, 49.5238)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55BD #BDA23A
analogous
#3A96BD #3A55BD #613ABD
triadic
#3A55BD #BD3A55 #55BD3A
tetradic
#3A55BD #BD3A96 #BDA23A #3ABD61
square
#3A55BD #BD3A96 #BDA23A #3ABD61
split-complementary
#3A55BD #BD613A #96BD3A
monochromatic
#1D2B5F #2C408E #3A55BD #657BD0 #93A3DE

Accessibility & contrast

On white

6.53
#3A55BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3A55BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55BD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55BD#FFFFFF#000000##FFFFFF
##3A55BD1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a55bd;
/* rgb */ color: rgb(58, 85, 189);
/* oklch */ color: oklch(49.0% 0.166 268.6);
Tailwind
colors: {
  custom: {
    50: '#8084d2',
    500: '#3a55bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a55bd;
$custom-light: #8084d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55bd",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 227.634,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.16633,
    "h": 268.6
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#3A55BD
secondary
#C9BC8A
accent
#BF4BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3A55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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