#3A54AE#3A54AE

#3A54AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.147 H 268.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3A54AE
RGBrgb(58, 84, 174)
HSLhsl(227, 50%, 45%)
HSVhsv(227, 67%, 68%)
CMYKcmyk(66.7%, 51.7%, 0%, 31.8%)
CIE-LABlab(38.37, 20.29, -51.11)
CIE-LCHlch(38.37, 54.99, 291.65°)
OKLaboklab(47.61% -0.0045 -0.1467)
OKLCHoklch(47.61% 0.147 268.3)
XYZxyz(12.5526, 10.2950, 41.3618)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54AE #AE943A
analogous
#3A8EAE #3A54AE #5A3AAE
triadic
#3A54AE #AE3A54 #54AE3A
tetradic
#3A54AE #AE3A8E #AE943A #3AAE5A
square
#3A54AE #AE3A8E #AE943A #3AAE5A
split-complementary
#3A54AE #AE5A3A #8EAE3A
monochromatic
#1B2852 #2B3E80 #3A54AE #5C75C9 #8A9CD8

Accessibility & contrast

On white

6.86
#3A54AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3A54AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54AE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54AE#FFFFFF#000000##FFFFFF
##3A54AE1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a54ae;
/* rgb */ color: rgb(58, 84, 174);
/* oklch */ color: oklch(47.6% 0.147 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d83c7',
    500: '#3a54ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a54ae;
$custom-light: #7d83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54ae",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 226.552,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.14675,
    "h": 268.3
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#3A54AE
secondary
#C2B481
accent
#BA4EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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