#3F358F#3F358F

#3F358F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.143 H 282.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3F358F
RGBrgb(63, 53, 143)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 56%)
CMYKcmyk(55.9%, 62.9%, 0%, 43.9%)
CIE-LABlab(28.34, 30.52, -48.61)
CIE-LCHlch(28.34, 57.40, 302.12°)
OKLaboklab(39.5% 0.0314 -0.1395)
OKLCHoklch(39.5% 0.143 282.7)
XYZxyz(8.2794, 5.5856, 26.6231)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F358F #858F35
analogous
#35588F #3F358F #6C358F
triadic
#3F358F #8F3F35 #358F3F
tetradic
#3F358F #8F3558 #858F35 #358F6C
square
#3F358F #8F3558 #858F35 #358F6C
split-complementary
#3F358F #8F6C35 #588F35
monochromatic
#181436 #2B2462 #3F358F #5347BB #7D73CB

Accessibility & contrast

On white

9.92
#3F358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F358F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F358F#FFFFFF#000000##FFFFFF
##3F358F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#1A4B5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f358f;
/* rgb */ color: rgb(63, 53, 143);
/* oklch */ color: oklch(39.5% 0.143 282.7);
Tailwind
colors: {
  custom: {
    50: '#7c6db0',
    500: '#3f358f',
    950: '#000000',
  },
}
SCSS
$custom: #3f358f;
$custom-light: #7c6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f358f",
  "rgb": {
    "r": 63,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 246.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39496,
    "c": 0.14299,
    "h": 282.7
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#3F358F
secondary
#ACB46C
accent
#D652C7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3F358F

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

Preview Lab → · Contrast checker → · Palette generator →

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