#3A55AC#3A55AC

#3A55AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.143 H 267.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3A55AC
RGBrgb(58, 85, 172)
HSLhsl(226, 50%, 45%)
HSVhsv(226, 66%, 67%)
CMYKcmyk(66.3%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.51, 18.91, -49.70)
CIE-LCHlch(38.51, 53.18, 290.83°)
OKLaboklab(47.68% -0.0056 -0.1425)
OKLCHoklch(47.68% 0.143 267.7)
XYZxyz(12.4373, 10.3739, 40.3687)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55AC #AC913A
analogous
#3A8EAC #3A55AC #583AAC
triadic
#3A55AC #AC3A55 #55AC3A
tetradic
#3A55AC #AC3A8E #AC913A #3AAC58
square
#3A55AC #AC3A8E #AC913A #3AAC58
split-complementary
#3A55AC #AC583A #8EAC3A
monochromatic
#1B2850 #2B3E7E #3A55AC #5B75C8 #899CD7

Accessibility & contrast

On white

6.83
#3A55AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A55AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55AC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55AC#FFFFFF#000000##FFFFFF
##3A55AC1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a55ac;
/* rgb */ color: rgb(58, 85, 172);
/* oklch */ color: oklch(47.7% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d84c5',
    500: '#3a55ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a55ac;
$custom-light: #7d84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55ac",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 225.789,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.14263,
    "h": 267.7
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#3A55AC
secondary
#C2B280
accent
#B84FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A55AC

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

Preview Lab → · Contrast checker → · Palette generator →

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