#3A54CD#3A54CD

#3A54CD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.189 H 269.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3A54CD
RGBrgb(58, 84, 205)
HSLhsl(229, 60%, 52%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(71.7%, 59%, 0%, 19.6%)
CIE-LABlab(40.65, 31.51, -65.52)
CIE-LCHlch(40.65, 72.71, 295.68°)
OKLaboklab(50.05% -0.0029 -0.1891)
OKLCHoklch(50.05% 0.189 269.1)
XYZxyz(15.9309, 11.6463, 59.1542)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54CD #CDB33A
analogous
#3A9ECD #3A54CD #6A3ACD
triadic
#3A54CD #CD3A54 #54CD3A
tetradic
#3A54CD #CD3A9E #CDB33A #3ACD6A
square
#3A54CD #CD3A9E #CDB33A #3ACD6A
split-complementary
#3A54CD #CD6A3A #9ECD3A
monochromatic
#1C2B70 #293EA1 #3A54CD #6B7ED9 #9CA9E6

Accessibility & contrast

On white

6.31
#3A54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3A54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54CD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54CD#FFFFFF#000000##FFFFFF
##3A54CD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a54cd;
/* rgb */ color: rgb(58, 84, 205);
/* oklch */ color: oklch(50.0% 0.189 269.1);
Tailwind
colors: {
  custom: {
    50: '#8383dd',
    500: '#3a54cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a54cd;
$custom-light: #8383dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54cd",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 229.388,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.18908,
    "h": 269.1
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#3A54CD
secondary
#D2C691
accent
#C745E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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