#3F48AB#3F48AB

#3F48AB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.157 H 274.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3F48AB
RGBrgb(63, 72, 171)
HSLhsl(235, 46%, 46%)
HSVhsv(235, 63%, 67%)
CMYKcmyk(63.2%, 57.9%, 0%, 32.9%)
CIE-LABlab(35.26, 27.87, -54.34)
CIE-LCHlch(35.26, 61.07, 297.15°)
OKLaboklab(45.29% 0.0119 -0.1562)
OKLCHoklch(45.29% 0.157 274.4)
XYZxyz(11.7155, 8.6308, 39.5687)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48AB #ABA23F
analogous
#3F7EAB #3F48AB #6C3FAB
triadic
#3F48AB #AB3F48 #48AB3F
tetradic
#3F48AB #AB3F7E #ABA23F #3FAB6C
square
#3F48AB #AB3F7E #ABA23F #3FAB6C
split-complementary
#3F48AB #AB6C3F #7EAB3F
monochromatic
#1E2252 #2F357E #3F48AB #626AC5 #8F95D6

Accessibility & contrast

On white

7.70
#3F48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48AB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48AB#FFFFFF#000000##FFFFFF
##3F48AB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f48ab;
/* rgb */ color: rgb(63, 72, 171);
/* oklch */ color: oklch(45.3% 0.157 274.4);
Tailwind
colors: {
  custom: {
    50: '#807bc5',
    500: '#3f48ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f48ab;
$custom-light: #807bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48ab",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 235,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.15666,
    "h": 274.4
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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