#3D48C3#3D48C3

#3D48C3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.190 H 272.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3D48C3
RGBrgb(61, 72, 195)
HSLhsl(235, 53%, 50%)
HSVhsv(235, 69%, 76%)
CMYKcmyk(68.7%, 63.1%, 0%, 23.5%)
CIE-LABlab(37.05, 35.95, -65.58)
CIE-LCHlch(37.05, 74.79, 298.73°)
OKLaboklab(47.18% 0.0092 -0.1893)
OKLCHoklch(47.18% 0.19 272.8)
XYZxyz(14.0889, 9.5656, 52.7230)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D48C3 #C3B83D
analogous
#3D8BC3 #3D48C3 #753DC3
triadic
#3D48C3 #C33D48 #48C33D
tetradic
#3D48C3 #C33D8B #C3B83D #3DC375
square
#3D48C3 #C33D8B #C3B83D #3DC375
split-complementary
#3D48C3 #C3753D #8BC33D
monochromatic
#202566 #2E3695 #3D48C3 #6C74D1 #9AA0E0

Accessibility & contrast

On white

7.21
#3D48C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3D48C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D48C3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D48C3#FFFFFF#000000##FFFFFF
##3D48C31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d48c3;
/* rgb */ color: rgb(61, 72, 195);
/* oklch */ color: oklch(47.2% 0.190 272.8);
Tailwind
colors: {
  custom: {
    50: '#837bd6',
    500: '#3d48c3',
    950: '#000000',
  },
}
SCSS
$custom: #3d48c3;
$custom-light: #837bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d48c3",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 235.075,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.18951,
    "h": 272.8
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#3D48C3
secondary
#CCC790
accent
#D04CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D48C3

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

Preview Lab → · Contrast checker → · Palette generator →

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