#3F48BA#3F48BA

#3F48BA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.177 H 273.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3F48BA
RGBrgb(63, 72, 186)
HSLhsl(236, 49%, 49%)
HSVhsv(236, 66%, 73%)
CMYKcmyk(66.1%, 61.3%, 0%, 27.1%)
CIE-LABlab(36.43, 33.10, -61.31)
CIE-LCHlch(36.43, 69.68, 298.36°)
OKLaboklab(46.53% 0.0118 -0.1767)
OKLCHoklch(46.53% 0.177 273.8)
XYZxyz(13.2272, 9.2355, 47.5304)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48BA #BAB13F
analogous
#3F86BA #3F48BA #743FBA
triadic
#3F48BA #BA3F48 #48BA3F
tetradic
#3F48BA #BA3F86 #BAB13F #3FBA74
square
#3F48BA #BA3F86 #BAB13F #3FBA74
split-complementary
#3F48BA #BA743F #86BA3F
monochromatic
#20255F #30368C #3F48BA #6A71CC #979CDC

Accessibility & contrast

On white

7.38
#3F48BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F48BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48BA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48BA#FFFFFF#000000##FFFFFF
##3F48BA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f48ba;
/* rgb */ color: rgb(63, 72, 186);
/* oklch */ color: oklch(46.5% 0.177 273.8);
Tailwind
colors: {
  custom: {
    50: '#827bd0',
    500: '#3f48ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f48ba;
$custom-light: #827bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48ba",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 235.61,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.17709,
    "h": 273.8
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F48BA

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

Preview Lab → · Contrast checker → · Palette generator →

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