#3C3EFF#3C3EFF

#3C3EFF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.4% C 0.272 H 271.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3C3EFF
RGBrgb(60, 62, 255)
HSLhsl(239, 100%, 62%)
HSVhsv(239, 76%, 100%)
CMYKcmyk(76.5%, 75.7%, 0%, 0%)
CIE-LABlab(40.61, 61.25, -93.97)
CIE-LCHlch(40.61, 112.17, 303.10°)
OKLaboklab(51.43% 0.0055 -0.2721)
OKLCHoklch(51.43% 0.272 271.2)
XYZxyz(21.6300, 11.6235, 95.6919)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3EFF #FFFD3C
analogous
#3C9FFF #3C3EFF #9C3CFF
triadic
#3C3EFF #FF3C3E #3EFF3C
tetradic
#3C3EFF #FF3C9F #FFFD3C #3CFF9C
square
#3C3EFF #FF3C9F #FFFD3C #3CFF9C
split-complementary
#3C3EFF #FF9C3C #9FFF3C
monochromatic
#0002C1 #0003FE #3C3EFF #797BFF #B6B7FF

Accessibility & contrast

On white

6.32
#3C3EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3C3EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C3EFF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3EFF#FFFFFF#000000##FFFFFF
##3C3EFF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#0056FC
Tritanopia (blue-blind)
#00789D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c3eff;
/* rgb */ color: rgb(60, 62, 255);
/* oklch */ color: oklch(51.4% 0.272 271.2);
Tailwind
colors: {
  custom: {
    50: '#9176ff',
    500: '#3c3eff',
    950: '#000000',
  },
}
SCSS
$custom: #3c3eff;
$custom-light: #9176ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3eff",
  "rgb": {
    "r": 60,
    "g": 62,
    "b": 255
  },
  "hsl": {
    "h": 239.385,
    "s": 100,
    "l": 61.765
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.27213,
    "h": 271.2
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#3C3EFF
secondary
#F0EFA7
accent
#E300E6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #3C3EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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