#3F48C3#3F48C3

#3F48C3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.189 H 273.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3F48C3
RGBrgb(63, 72, 195)
HSLhsl(236, 52%, 51%)
HSVhsv(236, 68%, 76%)
CMYKcmyk(67.7%, 63.1%, 0%, 23.5%)
CIE-LABlab(37.17, 36.22, -65.38)
CIE-LCHlch(37.17, 74.74, 298.98°)
OKLaboklab(47.3% 0.0114 -0.1887)
OKLCHoklch(47.3% 0.189 273.4)
XYZxyz(14.2143, 9.6303, 52.7289)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48C3 #C3BA3F
analogous
#3F8AC3 #3F48C3 #783FC3
triadic
#3F48C3 #C33F48 #48C33F
tetradic
#3F48C3 #C33F8A #C3BA3F #3FC378
square
#3F48C3 #C33F8A #C3BA3F #3FC378
split-complementary
#3F48C3 #C3783F #8AC33F
monochromatic
#202567 #2F3696 #3F48C3 #6E74D2 #9CA1E0

Accessibility & contrast

On white

7.18
#3F48C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3F48C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48C3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48C3#FFFFFF#000000##FFFFFF
##3F48C31.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f48c3;
/* rgb */ color: rgb(63, 72, 195);
/* oklch */ color: oklch(47.3% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#847bd6',
    500: '#3f48c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f48c3;
$custom-light: #847bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48c3",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 235.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47297,
    "c": 0.18899,
    "h": 273.4
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#3F48C3
secondary
#CCC892
accent
#D24CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F48C3

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

Preview Lab → · Contrast checker → · Palette generator →

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