#3A55C2#3A55C2

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

Color values

HEX#3A55C2
RGBrgb(58, 85, 194)
HSLhsl(228, 54%, 49%)
HSVhsv(228, 70%, 76%)
CMYKcmyk(70.1%, 56.2%, 0%, 23.9%)
CIE-LABlab(40.06, 26.90, -60.10)
CIE-LCHlch(40.06, 65.84, 294.11°)
OKLaboklab(49.35% -0.0039 -0.1731)
OKLCHoklch(49.35% 0.173 268.7)
XYZxyz(14.7277, 11.2901, 52.4315)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55C2 #C2A73A
analogous
#3A99C2 #3A55C2 #633AC2
triadic
#3A55C2 #C23A55 #55C23A
tetradic
#3A55C2 #C23A99 #C2A73A #3AC263
square
#3A55C2 #C23A99 #C2A73A #3AC263
split-complementary
#3A55C2 #C2633A #99C23A
monochromatic
#1E2C64 #2C4093 #3A55C2 #677DD2 #97A5E0

Accessibility & contrast

On white

6.44
#3A55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3A55C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55C2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55C2#FFFFFF#000000##FFFFFF
##3A55C21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a55c2;
/* rgb */ color: rgb(58, 85, 194);
/* oklch */ color: oklch(49.3% 0.173 268.7);
Tailwind
colors: {
  custom: {
    50: '#8184d5',
    500: '#3a55c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a55c2;
$custom-light: #8184d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55c2",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 228.088,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.17314,
    "h": 268.7
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#3A55C2
secondary
#CBBF8D
accent
#C04ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A55C2

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

Preview Lab → · Contrast checker → · Palette generator →

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