#3A48BC#3A48BC

#3A48BC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.181 H 272.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3A48BC
RGBrgb(58, 72, 188)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 74%)
CMYKcmyk(69.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(36.30, 33.09, -62.72)
CIE-LCHlch(36.30, 70.92, 297.81°)
OKLaboklab(46.4% 0.0062 -0.181)
OKLCHoklch(46.4% 0.181 272)
XYZxyz(13.1363, 9.1639, 48.6437)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48BC #BCAE3A
analogous
#3A89BC #3A48BC #6D3ABC
triadic
#3A48BC #BC3A48 #48BC3A
tetradic
#3A48BC #BC3A89 #BCAE3A #3ABC6D
square
#3A48BC #BC3A89 #BCAE3A #3ABC6D
split-complementary
#3A48BC #BC6D3A #89BC3A
monochromatic
#1D245E #2C368D #3A48BC #6470CF #939BDE

Accessibility & contrast

On white

7.41
#3A48BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A48BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48BC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48BC#FFFFFF#000000##FFFFFF
##3A48BC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a48bc;
/* rgb */ color: rgb(58, 72, 188);
/* oklch */ color: oklch(46.4% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#817bd1',
    500: '#3a48bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a48bc;
$custom-light: #817bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48bc",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 233.538,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46398,
    "c": 0.18107,
    "h": 272
  },
  "luminance": 0.09165
}

Semantic roles & 50–950 ramp

primary
#3A48BC
secondary
#C9C289
accent
#CD4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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