#3A55B2#3A55B2

#3A55B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.151 H 268.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3A55B2
RGBrgb(58, 85, 178)
HSLhsl(227, 51%, 46%)
HSVhsv(227, 67%, 70%)
CMYKcmyk(67.4%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.92, 21.09, -52.59)
CIE-LCHlch(38.92, 56.66, 291.85°)
OKLaboklab(48.12% -0.005 -0.151)
OKLCHoklch(48.12% 0.151 268.1)
XYZxyz(13.0265, 10.6097, 43.4722)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55B2 #B2973A
analogous
#3A91B2 #3A55B2 #5B3AB2
triadic
#3A55B2 #B23A55 #55B23A
tetradic
#3A55B2 #B23A91 #B2973A #3AB25B
square
#3A55B2 #B23A91 #B2973A #3AB25B
split-complementary
#3A55B2 #B25B3A #91B23A
monochromatic
#1C2956 #2B3F84 #3A55B2 #5F77CB #8D9EDA

Accessibility & contrast

On white

6.73
#3A55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3A55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55B2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55B2#FFFFFF#000000##FFFFFF
##3A55B21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a55b2;
/* rgb */ color: rgb(58, 85, 178);
/* oklch */ color: oklch(48.1% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#7e84ca',
    500: '#3a55b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a55b2;
$custom-light: #7e84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55b2",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 226.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48116,
    "c": 0.15109,
    "h": 268.1
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#3A55B2
secondary
#C4B683
accent
#BB4DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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