#3F3DCC#3F3DCC

#3F3DCC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.3% C 0.213 H 274.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3F3DCC
RGBrgb(63, 61, 204)
HSLhsl(241, 58%, 52%)
HSVhsv(241, 70%, 80%)
CMYKcmyk(69.1%, 70.1%, 0%, 20%)
CIE-LABlab(35.50, 45.87, -73.36)
CIE-LCHlch(35.50, 86.52, 302.02°)
OKLaboklab(46.33% 0.0179 -0.212)
OKLCHoklch(46.33% 0.213 274.8)
XYZxyz(14.6141, 8.7525, 58.0343)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DCC #CACC3D
analogous
#3D83CC #3F3DCC #873DCC
triadic
#3F3DCC #CC3F3D #3DCC3F
tetradic
#3F3DCC #CC3D83 #CACC3D #3DCC87
square
#3F3DCC #CC3D83 #CACC3D #3DCC87
split-complementary
#3F3DCC #CC873D #83CC3D
monochromatic
#1F1E71 #2C2AA1 #3F3DCC #6F6DD9 #9F9EE5

Accessibility & contrast

On white

7.63
#3F3DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3F3DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DCC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DCC#FFFFFF#000000##FFFFFF
##3F3DCC1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f3dcc;
/* rgb */ color: rgb(63, 61, 204);
/* oklch */ color: oklch(46.3% 0.213 274.8);
Tailwind
colors: {
  custom: {
    50: '#8774dd',
    500: '#3f3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dcc;
$custom-light: #8774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dcc",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 240.839,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.21278,
    "h": 274.8
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#3F3DCC
secondary
#D1D293
accent
#E246DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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