#3A55C3#3A55C3

#3A55C3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.174 H 268.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3A55C3
RGBrgb(58, 85, 195)
HSLhsl(228, 54%, 50%)
HSVhsv(228, 70%, 76%)
CMYKcmyk(70.3%, 56.4%, 0%, 23.5%)
CIE-LABlab(40.14, 27.26, -60.56)
CIE-LCHlch(40.14, 66.41, 294.23°)
OKLaboklab(49.43% -0.0039 -0.1745)
OKLCHoklch(49.43% 0.175 268.7)
XYZxyz(14.8404, 11.3352, 53.0250)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55C3 #C3A83A
analogous
#3A9AC3 #3A55C3 #633AC3
triadic
#3A55C3 #C33A55 #55C33A
tetradic
#3A55C3 #C33A9A #C3A83A #3AC363
square
#3A55C3 #C33A9A #C3A83A #3AC363
split-complementary
#3A55C3 #C3633A #9AC33A
monochromatic
#1E2C65 #2C4094 #3A55C3 #687DD2 #97A6E0

Accessibility & contrast

On white

6.43
#3A55C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3A55C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55C3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55C3#FFFFFF#000000##FFFFFF
##3A55C31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a55c3;
/* rgb */ color: rgb(58, 85, 195);
/* oklch */ color: oklch(49.4% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#8184d6',
    500: '#3a55c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a55c3;
$custom-light: #8184d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55c3",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 195
  },
  "hsl": {
    "h": 228.175,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.1745,
    "h": 268.7
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#3A55C3
secondary
#CCBF8D
accent
#C04ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A55C3

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

Preview Lab → · Contrast checker → · Palette generator →

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