#3A48C4#3A48C4

#3A48C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.192 H 271.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3A48C4
RGBrgb(58, 72, 196)
HSLhsl(234, 54%, 50%)
HSVhsv(234, 70%, 77%)
CMYKcmyk(70.4%, 63.3%, 0%, 23.1%)
CIE-LABlab(36.96, 35.91, -66.32)
CIE-LCHlch(36.96, 75.42, 298.43°)
OKLaboklab(47.09% 0.0059 -0.1915)
OKLCHoklch(47.09% 0.192 271.8)
XYZxyz(14.0227, 9.5184, 53.3121)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48C4 #C4B63A
analogous
#3A8DC4 #3A48C4 #713AC4
triadic
#3A48C4 #C43A48 #48C43A
tetradic
#3A48C4 #C43A8D #C4B63A #3AC471
square
#3A48C4 #C43A8D #C4B63A #3AC471
split-complementary
#3A48C4 #C4713A #8DC43A
monochromatic
#1E2566 #2C3795 #3A48C4 #6973D3 #989FE0

Accessibility & contrast

On white

7.23
#3A48C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A48C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48C4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48C4#FFFFFF#000000##FFFFFF
##3A48C41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a48c4;
/* rgb */ color: rgb(58, 72, 196);
/* oklch */ color: oklch(47.1% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#827bd7',
    500: '#3a48c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a48c4;
$custom-light: #827bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48c4",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 233.913,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.1916,
    "h": 271.8
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#3A48C4
secondary
#CCC68E
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48C4

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

Preview Lab → · Contrast checker → · Palette generator →

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