#3A54CC#3A54CC

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

Color values

HEX#3A54CC
RGBrgb(58, 84, 204)
HSLhsl(229, 59%, 51%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(71.6%, 58.8%, 0%, 20%)
CIE-LABlab(40.57, 31.15, -65.07)
CIE-LCHlch(40.57, 72.14, 295.58°)
OKLaboklab(49.96% -0.0029 -0.1877)
OKLCHoklch(49.96% 0.188 269.1)
XYZxyz(15.8106, 11.5982, 58.5205)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A54CC #CCB23A
analogous
#3A9DCC #3A54CC #693ACC
triadic
#3A54CC #CC3A54 #54CC3A
tetradic
#3A54CC #CC3A9D #CCB23A #3ACC69
square
#3A54CC #CC3A9D #CCB23A #3ACC69
split-complementary
#3A54CC #CC693A #9DCC3A
monochromatic
#1D2B6F #293EA0 #3A54CC #6B7ED9 #9BA8E5

Accessibility & contrast

On white

6.33
#3A54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A54CC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A54CC#FFFFFF#000000##FFFFFF
##3A54CC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a54cc;
/* rgb */ color: rgb(58, 84, 204);
/* oklch */ color: oklch(50.0% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#8383dc',
    500: '#3a54cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a54cc;
$custom-light: #8383dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a54cc",
  "rgb": {
    "r": 58,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 229.315,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.18776,
    "h": 269.1
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#3A54CC
secondary
#D1C691
accent
#C646E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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