#3A54BE#3A54BE

#3A54BE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.169 H 268.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3A54BE
RGBrgb(58, 84, 190)
HSLhsl(228, 53%, 49%)
HSVhsv(228, 69%, 75%)
CMYKcmyk(69.5%, 55.8%, 0%, 25.5%)
CIE-LABlab(39.51, 26.09, -58.67)
CIE-LCHlch(39.51, 64.21, 293.98°)
OKLaboklab(48.84% -0.0033 -0.1689)
OKLCHoklch(48.84% 0.169 268.9)
XYZxyz(14.2063, 10.9565, 50.0713)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54BE #BEA43A
analogous
#3A96BE #3A54BE #623ABE
triadic
#3A54BE #BE3A54 #54BE3A
tetradic
#3A54BE #BE3A96 #BEA43A #3ABE62
square
#3A54BE #BE3A96 #BEA43A #3ABE62
split-complementary
#3A54BE #BE623A #96BE3A
monochromatic
#1D2B60 #2C3F8F #3A54BE #657AD0 #94A3DE

Accessibility & contrast

On white

6.58
#3A54BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3A54BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54BE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54BE#FFFFFF#000000##FFFFFF
##3A54BE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a54be;
/* rgb */ color: rgb(58, 84, 190);
/* oklch */ color: oklch(48.8% 0.169 268.9);
Tailwind
colors: {
  custom: {
    50: '#8083d2',
    500: '#3a54be',
    950: '#000000',
  },
}
SCSS
$custom: #3a54be;
$custom-light: #8083d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54be",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 228.182,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.16895,
    "h": 268.9
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#3A54BE
secondary
#CABD8A
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A54BE

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

Preview Lab → · Contrast checker → · Palette generator →

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