#3A48DC#3A48DC

#3A48DC is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.3% C 0.222 H 271.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3A48DC
RGBrgb(58, 72, 220)
HSLhsl(235, 70%, 55%)
HSVhsv(235, 74%, 86%)
CMYKcmyk(73.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(39.07, 44.21, -76.73)
CIE-LCHlch(39.07, 88.55, 299.95°)
OKLaboklab(49.28% 0.0041 -0.222)
OKLCHoklch(49.28% 0.222 271.1)
XYZxyz(16.9762, 10.6998, 68.8669)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48DC #DCCE3A
analogous
#3A99DC #3A48DC #7D3ADC
triadic
#3A48DC #DC3A48 #48DC3A
tetradic
#3A48DC #DC3A99 #DCCE3A #3ADC7D
square
#3A48DC #DC3A99 #DCCE3A #3ADC7D
split-complementary
#3A48DC #DC7D3A #99DC3A
monochromatic
#172184 #212EB8 #3A48DC #6E78E5 #A2A9EE

Accessibility & contrast

On white

6.69
#3A48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3A48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A48DC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48DC#FFFFFF#000000##FFFFFF
##3A48DC1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0054D9
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a48dc;
/* rgb */ color: rgb(58, 72, 220);
/* oklch */ color: oklch(49.3% 0.222 271.1);
Tailwind
colors: {
  custom: {
    50: '#887be8',
    500: '#3a48dc',
    950: '#000000',
  },
}
SCSS
$custom: #3a48dc;
$custom-light: #887be8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48dc",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 234.815,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.22202,
    "h": 271.1
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#3A48DC
secondary
#DBD597
accent
#DD3BED
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3A48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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