#3F48B2#3F48B2

#3F48B2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.166 H 274.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3F48B2
RGBrgb(63, 72, 178)
HSLhsl(235, 48%, 47%)
HSVhsv(235, 65%, 70%)
CMYKcmyk(64.6%, 59.6%, 0%, 30.2%)
CIE-LABlab(35.80, 30.32, -57.62)
CIE-LCHlch(35.80, 65.11, 297.75°)
OKLaboklab(45.86% 0.0119 -0.1659)
OKLCHoklch(45.86% 0.166 274.1)
XYZxyz(12.4005, 8.9048, 43.1762)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F48B2 #B2A93F
analogous
#3F82B2 #3F48B2 #6F3FB2
triadic
#3F48B2 #B23F48 #48B23F
tetradic
#3F48B2 #B23F82 #B2A93F #3FB26F
square
#3F48B2 #B23F82 #B2A93F #3FB26F
split-complementary
#3F48B2 #B26F3F #82B23F
monochromatic
#1F2358 #2F3685 #3F48B2 #666DC9 #9398D9

Accessibility & contrast

On white

7.55
#3F48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F48B2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F48B2#FFFFFF#000000##FFFFFF
##3F48B21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f48b2;
/* rgb */ color: rgb(63, 72, 178);
/* oklch */ color: oklch(45.9% 0.166 274.1);
Tailwind
colors: {
  custom: {
    50: '#817bca',
    500: '#3f48b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f48b2;
$custom-light: #817bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f48b2",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 235.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.16629,
    "h": 274.1
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#3F48B2
secondary
#C4BF89
accent
#CD50D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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