#3A48C3#3A48C3

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

Color values

HEX#3A48C3
RGBrgb(58, 72, 195)
HSLhsl(234, 54%, 50%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.3%, 63.1%, 0%, 23.5%)
CIE-LABlab(36.88, 35.56, -65.87)
CIE-LCHlch(36.88, 74.86, 298.36°)
OKLaboklab(47.01% 0.006 -0.1902)
OKLCHoklch(47.01% 0.19 271.8)
XYZxyz(13.9093, 9.4730, 52.7146)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48C3 #C3B53A
analogous
#3A8CC3 #3A48C3 #713AC3
triadic
#3A48C3 #C33A48 #48C33A
tetradic
#3A48C3 #C33A8C #C3B53A #3AC371
square
#3A48C3 #C33A8C #C3B53A #3AC371
split-complementary
#3A48C3 #C3713A #8CC33A
monochromatic
#1E2565 #2C3794 #3A48C3 #6873D2 #979FE0

Accessibility & contrast

On white

7.25
#3A48C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A48C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48C3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48C3#FFFFFF#000000##FFFFFF
##3A48C31.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a48c3;
/* rgb */ color: rgb(58, 72, 195);
/* oklch */ color: oklch(47.0% 0.190 271.8);
Tailwind
colors: {
  custom: {
    50: '#827bd6',
    500: '#3a48c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a48c3;
$custom-light: #827bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48c3",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 233.869,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.19029,
    "h": 271.8
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#3A48C3
secondary
#CCC58D
accent
#CE4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48C3

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

Preview Lab → · Contrast checker → · Palette generator →

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