#3F48AE#3F48AE

#3F48AE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.161 H 274.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3F48AE
RGBrgb(63, 72, 174)
HSLhsl(235, 47%, 46%)
HSVhsv(235, 64%, 68%)
CMYKcmyk(63.8%, 58.6%, 0%, 31.8%)
CIE-LABlab(35.49, 28.92, -55.75)
CIE-LCHlch(35.49, 62.81, 297.42°)
OKLaboklab(45.53% 0.012 -0.1604)
OKLCHoklch(45.53% 0.161 274.3)
XYZxyz(12.0047, 8.7465, 41.0918)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48AE #AEA53F
analogous
#3F80AE #3F48AE #6E3FAE
triadic
#3F48AE #AE3F48 #48AE3F
tetradic
#3F48AE #AE3F80 #AEA53F #3FAE6E
square
#3F48AE #AE3F80 #AEA53F #3FAE6E
split-complementary
#3F48AE #AE6E3F #80AE3F
monochromatic
#1E2354 #2F3581 #3F48AE #646CC7 #9096D7

Accessibility & contrast

On white

7.64
#3F48AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3F48AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48AE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48AE#FFFFFF#000000##FFFFFF
##3F48AE1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f48ae;
/* rgb */ color: rgb(63, 72, 174);
/* oklch */ color: oklch(45.5% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#807bc7',
    500: '#3f48ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f48ae;
$custom-light: #807bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48ae",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 235.135,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.16081,
    "h": 274.3
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#3F48AE
secondary
#C2BD87
accent
#CC51D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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