#3A55AE#3A55AE

#3A55AE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.145 H 267.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3A55AE
RGBrgb(58, 85, 174)
HSLhsl(226, 50%, 45%)
HSVhsv(226, 67%, 68%)
CMYKcmyk(66.7%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.64, 19.63, -50.67)
CIE-LCHlch(38.64, 54.34, 291.18°)
OKLaboklab(47.82% -0.0054 -0.1454)
OKLCHoklch(47.82% 0.145 267.9)
XYZxyz(12.6308, 10.4513, 41.3879)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A55AE #AE933A
analogous
#3A8FAE #3A55AE #593AAE
triadic
#3A55AE #AE3A55 #55AE3A
tetradic
#3A55AE #AE3A8F #AE933A #3AAE59
square
#3A55AE #AE3A8F #AE933A #3AAE59
split-complementary
#3A55AE #AE593A #8FAE3A
monochromatic
#1B2852 #2B3F80 #3A55AE #5C76C9 #8A9CD8

Accessibility & contrast

On white

6.79
#3A55AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3A55AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A55AE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A55AE#FFFFFF#000000##FFFFFF
##3A55AE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a55ae;
/* rgb */ color: rgb(58, 85, 174);
/* oklch */ color: oklch(47.8% 0.145 267.9);
Tailwind
colors: {
  custom: {
    50: '#7d84c7',
    500: '#3a55ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a55ae;
$custom-light: #7d84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a55ae",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 226.034,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.14546,
    "h": 267.9
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#3A55AE
secondary
#C2B381
accent
#B94EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A55AE

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

Preview Lab → · Contrast checker → · Palette generator →

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