#3F3CC8#3F3CC8

#3F3CC8 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.209 H 275.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F3CC8
RGBrgb(63, 60, 200)
HSLhsl(241, 56%, 51%)
HSVhsv(241, 70%, 78%)
CMYKcmyk(68.5%, 70%, 0%, 21.6%)
CIE-LABlab(34.92, 45.14, -71.99)
CIE-LCHlch(34.92, 84.97, 302.08°)
OKLaboklab(45.8% 0.0191 -0.208)
OKLCHoklch(45.8% 0.209 275.3)
XYZxyz(14.0876, 8.4573, 55.5224)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CC8 #C5C83C
analogous
#3C7FC8 #3F3CC8 #853CC8
triadic
#3F3CC8 #C83F3C #3CC83F
tetradic
#3F3CC8 #C83C7F #C5C83C #3CC885
square
#3F3CC8 #C83C7F #C5C83C #3CC885
split-complementary
#3F3CC8 #C8853C #7FC83C
monochromatic
#201E6B #2E2C9B #3F3CC8 #6E6CD5 #9D9BE3

Accessibility & contrast

On white

7.80
#3F3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F3CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CC8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CC8#FFFFFF#000000##FFFFFF
##3F3CC81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3cc8;
/* rgb */ color: rgb(63, 60, 200);
/* oklch */ color: oklch(45.8% 0.209 275.3);
Tailwind
colors: {
  custom: {
    50: '#8673da',
    500: '#3f3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cc8;
$custom-light: #8673da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cc8",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 241.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.20891,
    "h": 275.3
  },
  "luminance": 0.08459
}

Semantic roles & 50–950 ramp

primary
#3F3CC8
secondary
#CECF91
accent
#DF49DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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