#3F3AC8#3F3AC8

#3F3AC8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.211 H 275.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3F3AC8
RGBrgb(63, 58, 200)
HSLhsl(242, 56%, 51%)
HSVhsv(242, 71%, 78%)
CMYKcmyk(68.5%, 71%, 0%, 21.6%)
CIE-LABlab(34.50, 46.28, -72.68)
CIE-LCHlch(34.50, 86.17, 302.49°)
OKLaboklab(45.5% 0.0204 -0.21)
OKLCHoklch(45.5% 0.211 275.5)
XYZxyz(13.9849, 8.2517, 55.4881)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3AC8 #C3C83A
analogous
#3A7CC8 #3F3AC8 #863AC8
triadic
#3F3AC8 #C83F3A #3AC83F
tetradic
#3F3AC8 #C83A7C #C3C83A #3AC886
square
#3F3AC8 #C83A7C #C3C83A #3AC886
split-complementary
#3F3AC8 #C8863A #7CC83A
monochromatic
#201E6A #2F2B9A #3F3AC8 #6E6AD5 #9C9AE3

Accessibility & contrast

On white

7.92
#3F3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F3AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3AC8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3AC8#FFFFFF#000000##FFFFFF
##3F3AC81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f3ac8;
/* rgb */ color: rgb(63, 58, 200);
/* oklch */ color: oklch(45.5% 0.211 275.5);
Tailwind
colors: {
  custom: {
    50: '#8672da',
    500: '#3f3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ac8;
$custom-light: #8672da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ac8",
  "rgb": {
    "r": 63,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 242.113,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.455,
    "c": 0.21101,
    "h": 275.5
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#3F3AC8
secondary
#CCCE8F
accent
#E048DA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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