#3A48C1#3A48C1

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

Color values

HEX#3A48C1
RGBrgb(58, 72, 193)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(69.9%, 62.7%, 0%, 24.3%)
CIE-LABlab(36.71, 34.85, -64.98)
CIE-LCHlch(36.71, 73.74, 298.21°)
OKLaboklab(46.83% 0.0061 -0.1876)
OKLCHoklch(46.83% 0.188 271.8)
XYZxyz(13.6847, 9.3832, 51.5317)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48C1 #C1B33A
analogous
#3A8CC1 #3A48C1 #703AC1
triadic
#3A48C1 #C13A48 #48C13A
tetradic
#3A48C1 #C13A8C #C1B33A #3AC170
square
#3A48C1 #C13A8C #C1B33A #3AC170
split-complementary
#3A48C1 #C1703A #8CC13A
monochromatic
#1E2563 #2C3692 #3A48C1 #6772D1 #969EDF

Accessibility & contrast

On white

7.30
#3A48C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A48C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48C1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48C1#FFFFFF#000000##FFFFFF
##3A48C11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a48c1;
/* rgb */ color: rgb(58, 72, 193);
/* oklch */ color: oklch(46.8% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#827bd5',
    500: '#3a48c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a48c1;
$custom-light: #827bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48c1",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 233.778,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.18768,
    "h": 271.8
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#3A48C1
secondary
#CBC48C
accent
#CE4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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