#3A55C5#3A55C5

#3A55C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.177 H 268.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3A55C5
RGBrgb(58, 85, 197)
HSLhsl(228, 55%, 50%)
HSVhsv(228, 71%, 77%)
CMYKcmyk(70.6%, 56.9%, 0%, 22.7%)
CIE-LABlab(40.29, 27.98, -61.48)
CIE-LCHlch(40.29, 67.55, 294.47°)
OKLaboklab(49.59% -0.0038 -0.1772)
OKLCHoklch(49.59% 0.177 268.8)
XYZxyz(15.0680, 11.4262, 54.2239)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55C5 #C5AA3A
analogous
#3A9BC5 #3A55C5 #643AC5
triadic
#3A55C5 #C53A55 #55C53A
tetradic
#3A55C5 #C53A9B #C5AA3A #3AC564
square
#3A55C5 #C53A9B #C5AA3A #3AC564
split-complementary
#3A55C5 #C5643A #9BC53A
monochromatic
#1E2C66 #2C4196 #3A55C5 #697ED3 #99A7E1

Accessibility & contrast

On white

6.39
#3A55C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A55C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55C5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55C5#FFFFFF#000000##FFFFFF
##3A55C51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a55c5;
/* rgb */ color: rgb(58, 85, 197);
/* oklch */ color: oklch(49.6% 0.177 268.8);
Tailwind
colors: {
  custom: {
    50: '#8284d7',
    500: '#3a55c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a55c5;
$custom-light: #8284d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55c5",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 197
  },
  "hsl": {
    "h": 228.345,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.1772,
    "h": 268.8
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A55C5

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

Preview Lab → · Contrast checker → · Palette generator →

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