#3B48C7#3B48C7

#3B48C7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.195 H 272.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3B48C7
RGBrgb(59, 72, 199)
HSLhsl(234, 56%, 51%)
HSVhsv(234, 70%, 78%)
CMYKcmyk(70.4%, 63.8%, 0%, 22%)
CIE-LABlab(37.27, 37.08, -67.56)
CIE-LCHlch(37.27, 77.06, 298.76°)
OKLaboklab(47.42% 0.0068 -0.1951)
OKLCHoklch(47.42% 0.195 272)
XYZxyz(14.4263, 9.6866, 55.1312)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B48C7 #C7BA3B
analogous
#3B8EC7 #3B48C7 #743BC7
triadic
#3B48C7 #C73B48 #48C73B
tetradic
#3B48C7 #C73B8E #C7BA3B #3BC774
square
#3B48C7 #C73B8E #C7BA3B #3BC774
split-complementary
#3B48C7 #C7743B #8EC73B
monochromatic
#1E2569 #2C3699 #3B48C7 #6B74D5 #9AA1E2

Accessibility & contrast

On white

7.15
#3B48C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3B48C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B48C7
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B48C7#FFFFFF#000000##FFFFFF
##3B48C71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3b48c7;
/* rgb */ color: rgb(59, 72, 199);
/* oklch */ color: oklch(47.4% 0.195 272.0);
Tailwind
colors: {
  custom: {
    50: '#837bd9',
    500: '#3b48c7',
    950: '#000000',
  },
}
SCSS
$custom: #3b48c7;
$custom-light: #837bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b48c7",
  "rgb": {
    "r": 59,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 234.429,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.19523,
    "h": 272
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#3B48C7
secondary
#CEC890
accent
#D149DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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