#3F3BC8#3F3BC8

#3F3BC8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.210 H 275.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3F3BC8
RGBrgb(63, 59, 200)
HSLhsl(242, 56%, 51%)
HSVhsv(242, 71%, 78%)
CMYKcmyk(68.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(34.71, 45.71, -72.34)
CIE-LCHlch(34.71, 85.57, 302.29°)
OKLaboklab(45.65% 0.0197 -0.209)
OKLCHoklch(45.65% 0.21 275.4)
XYZxyz(14.0358, 8.3535, 55.5051)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BC8 #C4C83B
analogous
#3B7DC8 #3F3BC8 #853BC8
triadic
#3F3BC8 #C83F3B #3BC83F
tetradic
#3F3BC8 #C83B7D #C4C83B #3BC885
square
#3F3BC8 #C83B7D #C4C83B #3BC885
split-complementary
#3F3BC8 #C8853B #7DC83B
monochromatic
#201E6B #2E2B9A #3F3BC8 #6E6BD5 #9D9BE3

Accessibility & contrast

On white

7.86
#3F3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3F3BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BC8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BC8#FFFFFF#000000##FFFFFF
##3F3BC81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f3bc8;
/* rgb */ color: rgb(63, 59, 200);
/* oklch */ color: oklch(45.6% 0.210 275.4);
Tailwind
colors: {
  custom: {
    50: '#8672da',
    500: '#3f3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bc8;
$custom-light: #8672da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bc8",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 241.702,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45648,
    "c": 0.20997,
    "h": 275.4
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#3F3BC8
secondary
#CDCF90
accent
#DF48DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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