#3F48BB#3F48BB

#3F48BB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.178 H 273.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F48BB
RGBrgb(63, 72, 187)
HSLhsl(236, 50%, 49%)
HSVhsv(236, 66%, 73%)
CMYKcmyk(66.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(36.51, 33.45, -61.77)
CIE-LCHlch(36.51, 70.24, 298.43°)
OKLaboklab(46.61% 0.0117 -0.178)
OKLCHoklch(46.61% 0.178 273.8)
XYZxyz(13.3339, 9.2782, 48.0923)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48BB #BBB23F
analogous
#3F86BB #3F48BB #743FBB
triadic
#3F48BB #BB3F48 #48BB3F
tetradic
#3F48BB #BB3F86 #BBB23F #3FBB74
square
#3F48BB #BB3F86 #BBB23F #3FBB74
split-complementary
#3F48BB #BB743F #86BB3F
monochromatic
#20255F #30368D #3F48BB #6A71CD #989DDC

Accessibility & contrast

On white

7.35
#3F48BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F48BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48BB#FFFFFF#000000##FFFFFF
##3F48BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f48bb;
/* rgb */ color: rgb(63, 72, 187);
/* oklch */ color: oklch(46.6% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#837bd0',
    500: '#3f48bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f48bb;
$custom-light: #837bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48bb",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 235.645,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46611,
    "c": 0.17843,
    "h": 273.8
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#3F48BB
secondary
#C8C48E
accent
#CF4FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F48BB

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

Preview Lab → · Contrast checker → · Palette generator →

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