#3F49BA#3F49BA

#3F49BA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.176 H 273.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3F49BA
RGBrgb(63, 73, 186)
HSLhsl(235, 49%, 49%)
HSVhsv(235, 66%, 73%)
CMYKcmyk(66.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(36.68, 32.47, -60.91)
CIE-LCHlch(36.68, 69.03, 298.06°)
OKLaboklab(46.71% 0.0109 -0.1755)
OKLCHoklch(46.71% 0.176 273.6)
XYZxyz(13.2924, 9.3658, 47.5521)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F49BA #BAB03F
analogous
#3F87BA #3F49BA #733FBA
triadic
#3F49BA #BA3F49 #49BA3F
tetradic
#3F49BA #BA3F87 #BAB03F #3FBA73
square
#3F49BA #BA3F87 #BAB03F #3FBA73
split-complementary
#3F49BA #BA733F #87BA3F
monochromatic
#20255F #30378C #3F49BA #6A72CC #979DDC

Accessibility & contrast

On white

7.31
#3F49BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F49BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F49BA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F49BA#FFFFFF#000000##FFFFFF
##3F49BA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f49ba;
/* rgb */ color: rgb(63, 73, 186);
/* oklch */ color: oklch(46.7% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#827bd0',
    500: '#3f49ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f49ba;
$custom-light: #827bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f49ba",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 235.122,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46708,
    "c": 0.17586,
    "h": 273.6
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#3F49BA
secondary
#C8C38D
accent
#CE4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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