#3A48C2#3A48C2

#3A48C2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.189 H 271.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#3A48C2
RGBrgb(58, 72, 194)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.1%, 62.9%, 0%, 23.9%)
CIE-LABlab(36.80, 35.21, -65.43)
CIE-LCHlch(36.80, 74.30, 298.29°)
OKLaboklab(46.92% 0.006 -0.1889)
OKLCHoklch(46.92% 0.189 271.8)
XYZxyz(13.7966, 9.4280, 52.1212)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48C2 #C2B43A
analogous
#3A8CC2 #3A48C2 #703AC2
triadic
#3A48C2 #C23A48 #48C23A
tetradic
#3A48C2 #C23A8C #C2B43A #3AC270
square
#3A48C2 #C23A8C #C2B43A #3AC270
split-complementary
#3A48C2 #C2703A #8CC23A
monochromatic
#1E2564 #2C3793 #3A48C2 #6772D2 #979EE0

Accessibility & contrast

On white

7.28
#3A48C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A48C2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48C2#FFFFFF#000000##FFFFFF
##3A48C21.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a48c2;
/* rgb */ color: rgb(58, 72, 194);
/* oklch */ color: oklch(46.9% 0.189 271.8);
Tailwind
colors: {
  custom: {
    50: '#827bd5',
    500: '#3a48c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a48c2;
$custom-light: #827bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48c2",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 233.824,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.18899,
    "h": 271.8
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#3A48C2
secondary
#CBC58D
accent
#CE4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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