#3D48C2#3D48C2

#3D48C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.188 H 272.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3D48C2
RGBrgb(61, 72, 194)
HSLhsl(235, 52%, 50%)
HSVhsv(235, 69%, 76%)
CMYKcmyk(68.6%, 62.9%, 0%, 23.9%)
CIE-LABlab(36.97, 35.60, -65.14)
CIE-LCHlch(36.97, 74.23, 298.66°)
OKLaboklab(47.09% 0.0092 -0.188)
OKLCHoklch(47.09% 0.188 272.8)
XYZxyz(13.9762, 9.5206, 52.1296)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D48C2 #C2B73D
analogous
#3D8AC2 #3D48C2 #753DC2
triadic
#3D48C2 #C23D48 #48C23D
tetradic
#3D48C2 #C23D8A #C2B73D #3DC275
square
#3D48C2 #C23D8A #C2B73D #3DC275
split-complementary
#3D48C2 #C2753D #8AC23D
monochromatic
#202565 #2E3793 #3D48C2 #6C74D1 #9AA0DF

Accessibility & contrast

On white

7.23
#3D48C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3D48C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D48C2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D48C2#FFFFFF#000000##FFFFFF
##3D48C21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d48c2;
/* rgb */ color: rgb(61, 72, 194);
/* oklch */ color: oklch(47.1% 0.188 272.8);
Tailwind
colors: {
  custom: {
    50: '#837bd5',
    500: '#3d48c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d48c2;
$custom-light: #837bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d48c2",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 235.038,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.1882,
    "h": 272.8
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#3D48C2
secondary
#CBC690
accent
#D04CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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