#3A48C5#3A48C5

#3A48C5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.193 H 271.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A48C5
RGBrgb(58, 72, 197)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.6%, 63.5%, 0%, 22.7%)
CIE-LABlab(37.05, 36.26, -66.76)
CIE-LCHlch(37.05, 75.97, 298.51°)
OKLaboklab(47.18% 0.0059 -0.1928)
OKLCHoklch(47.18% 0.193 271.7)
XYZxyz(14.1369, 9.5641, 53.9135)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48C5 #C5B73A
analogous
#3A8DC5 #3A48C5 #723AC5
triadic
#3A48C5 #C53A48 #48C53A
tetradic
#3A48C5 #C53A8D #C5B73A #3AC572
square
#3A48C5 #C53A8D #C5B73A #3AC572
split-complementary
#3A48C5 #C5723A #8DC53A
monochromatic
#1E2566 #2C3796 #3A48C5 #6974D3 #99A0E1

Accessibility & contrast

On white

7.21
#3A48C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A48C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48C5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48C5#FFFFFF#000000##FFFFFF
##3A48C51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a48c5;
/* rgb */ color: rgb(58, 72, 197);
/* oklch */ color: oklch(47.2% 0.193 271.7);
Tailwind
colors: {
  custom: {
    50: '#837bd8',
    500: '#3a48c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a48c5;
$custom-light: #837bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48c5",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 233.957,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.47182,
    "c": 0.1929,
    "h": 271.7
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#3A48C5
secondary
#CDC68E
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A48C5

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

Preview Lab → · Contrast checker → · Palette generator →

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