#3F3CAF#3F3CAF

#3F3CAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.177 H 277.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3F3CAF
RGBrgb(63, 60, 175)
HSLhsl(242, 49%, 46%)
HSVhsv(242, 66%, 69%)
CMYKcmyk(64%, 65.7%, 0%, 31.4%)
CIE-LABlab(32.66, 36.84, -60.96)
CIE-LCHlch(32.66, 71.22, 301.14°)
OKLaboklab(43.48% 0.0223 -0.1757)
OKLCHoklch(43.48% 0.177 277.2)
XYZxyz(11.4011, 7.3827, 41.3733)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CAF #ACAF3C
analogous
#3C72AF #3F3CAF #783CAF
triadic
#3F3CAF #AF3F3C #3CAF3F
tetradic
#3F3CAF #AF3C72 #ACAF3C #3CAF78
square
#3F3CAF #AF3C72 #ACAF3C #3CAF78
split-complementary
#3F3CAF #AF783C #72AF3C
monochromatic
#1E1D54 #2F2C81 #3F3CAF #6360C8 #8F8DD8

Accessibility & contrast

On white

8.48
#3F3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3F3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CAF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CAF#FFFFFF#000000##FFFFFF
##3F3CAF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3caf;
/* rgb */ color: rgb(63, 60, 175);
/* oklch */ color: oklch(43.5% 0.177 277.2);
Tailwind
colors: {
  custom: {
    50: '#8172c8',
    500: '#3f3caf',
    950: '#000000',
  },
}
SCSS
$custom: #3f3caf;
$custom-light: #8172c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3caf",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 241.565,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.17714,
    "h": 277.2
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#3F3CAF
secondary
#C1C384
accent
#D84FD5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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