#3F48AD#3F48AD

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

Color values

HEX#3F48AD
RGBrgb(63, 72, 173)
HSLhsl(235, 47%, 46%)
HSVhsv(235, 64%, 68%)
CMYKcmyk(63.6%, 58.4%, 0%, 32.2%)
CIE-LABlab(35.42, 28.57, -55.28)
CIE-LCHlch(35.42, 62.23, 297.33°)
OKLaboklab(45.45% 0.012 -0.159)
OKLCHoklch(45.45% 0.159 274.3)
XYZxyz(11.9076, 8.7076, 40.5803)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48AD #ADA43F
analogous
#3F7FAD #3F48AD #6D3FAD
triadic
#3F48AD #AD3F48 #48AD3F
tetradic
#3F48AD #AD3F7F #ADA43F #3FAD6D
square
#3F48AD #AD3F7F #ADA43F #3FAD6D
split-complementary
#3F48AD #AD6D3F #7FAD3F
monochromatic
#1E2353 #2F3580 #3F48AD #636BC6 #9096D7

Accessibility & contrast

On white

7.66
#3F48AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3F48AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48AD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48AD#FFFFFF#000000##FFFFFF
##3F48AD1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f48ad;
/* rgb */ color: rgb(63, 72, 173);
/* oklch */ color: oklch(45.5% 0.159 274.3);
Tailwind
colors: {
  custom: {
    50: '#807bc6',
    500: '#3f48ad',
    950: '#000000',
  },
}
SCSS
$custom: #3f48ad;
$custom-light: #807bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48ad",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 235.091,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45453,
    "c": 0.15943,
    "h": 274.3
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#3F48AD
secondary
#C2BD86
accent
#CB52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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