#3A55C4#3A55C4

#3A55C4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.176 H 268.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3A55C4
RGBrgb(58, 85, 196)
HSLhsl(228, 54%, 50%)
HSVhsv(228, 70%, 77%)
CMYKcmyk(70.4%, 56.6%, 0%, 23.1%)
CIE-LABlab(40.21, 27.62, -61.02)
CIE-LCHlch(40.21, 66.98, 294.35°)
OKLaboklab(49.51% -0.0039 -0.1758)
OKLCHoklch(49.51% 0.176 268.7)
XYZxyz(14.9538, 11.3806, 53.6224)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55C4 #C4A93A
analogous
#3A9AC4 #3A55C4 #643AC4
triadic
#3A55C4 #C43A55 #55C43A
tetradic
#3A55C4 #C43A9A #C4A93A #3AC464
square
#3A55C4 #C43A9A #C4A93A #3AC464
split-complementary
#3A55C4 #C4643A #9AC43A
monochromatic
#1E2C66 #2C4195 #3A55C4 #697DD3 #98A6E0

Accessibility & contrast

On white

6.41
#3A55C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3A55C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55C4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55C4#FFFFFF#000000##FFFFFF
##3A55C41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a55c4;
/* rgb */ color: rgb(58, 85, 196);
/* oklch */ color: oklch(49.5% 0.176 268.7);
Tailwind
colors: {
  custom: {
    50: '#8184d7',
    500: '#3a55c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a55c4;
$custom-light: #8184d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55c4",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 228.261,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.17585,
    "h": 268.7
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#3A55C4
secondary
#CCC08E
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A55C4

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

Preview Lab → · Contrast checker → · Palette generator →

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