#3F48C0#3F48C0

#3F48C0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.185 H 273.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3F48C0
RGBrgb(63, 72, 192)
HSLhsl(236, 51%, 50%)
HSVhsv(236, 67%, 75%)
CMYKcmyk(67.2%, 62.5%, 0%, 24.7%)
CIE-LABlab(36.92, 35.18, -64.04)
CIE-LCHlch(36.92, 73.06, 298.78°)
OKLaboklab(47.04% 0.0115 -0.1847)
OKLCHoklch(47.04% 0.185 273.6)
XYZxyz(13.8785, 9.4960, 50.9605)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48C0 #C0B73F
analogous
#3F88C0 #3F48C0 #773FC0
triadic
#3F48C0 #C03F48 #48C03F
tetradic
#3F48C0 #C03F88 #C0B73F #3FC077
square
#3F48C0 #C03F88 #C0B73F #3FC077
split-complementary
#3F48C0 #C0773F #88C03F
monochromatic
#212564 #303792 #3F48C0 #6D74CF #9BA0DE

Accessibility & contrast

On white

7.24
#3F48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F48C0
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48C0#FFFFFF#000000##FFFFFF
##3F48C01.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f48c0;
/* rgb */ color: rgb(63, 72, 192);
/* oklch */ color: oklch(47.0% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#847bd4',
    500: '#3f48c0',
    950: '#000000',
  },
}
SCSS
$custom: #3f48c0;
$custom-light: #847bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48c0",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 235.814,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.18506,
    "h": 273.6
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#3F48C0
secondary
#CAC691
accent
#D04EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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