#3F3C8A#3F3C8A

#3F3C8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.126 H 280.9°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3F3C8A
RGBrgb(63, 60, 138)
HSLhsl(242, 39%, 39%)
HSVhsv(242, 57%, 54%)
CMYKcmyk(54.3%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.72, 24.33, -43.29)
CIE-LCHlch(29.72, 49.66, 299.33°)
OKLaboklab(40.39% 0.0238 -0.1238)
OKLCHoklch(40.39% 0.126 280.9)
XYZxyz(8.2518, 6.1230, 24.7869)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3C8A #878A3C
analogous
#3C608A #3F3C8A #663C8A
triadic
#3F3C8A #8A3F3C #3C8A3F
tetradic
#3F3C8A #8A3C60 #878A3C #3C8A66
square
#3F3C8A #8A3C60 #878A3C #3C8A66
split-complementary
#3F3C8A #8A663C #608A3C
monochromatic
#181735 #2C295F #3F3C8A #5450B3 #7E7BC6

Accessibility & contrast

On white

9.44
#3F3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3C8A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3C8A#FFFFFF#000000##FFFFFF
##3F3C8A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#1F4E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f3c8a;
/* rgb */ color: rgb(63, 60, 138);
/* oklch */ color: oklch(40.4% 0.126 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b71ad',
    500: '#3f3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f3c8a;
$custom-light: #7b71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3c8a",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 242.308,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40394,
    "c": 0.12607,
    "h": 280.9
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#3F3C8A
secondary
#ADAF73
accent
#CF59CB
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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