#3F3CA5#3F3CA5

#3F3CA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.164 H 278.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3F3CA5
RGBrgb(63, 60, 165)
HSLhsl(242, 47%, 44%)
HSVhsv(242, 64%, 65%)
CMYKcmyk(61.8%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.82, 33.46, -56.35)
CIE-LCHlch(31.82, 65.54, 300.70°)
OKLaboklab(42.6% 0.0232 -0.1622)
OKLCHoklch(42.6% 0.164 278.1)
XYZxyz(10.4551, 7.0043, 36.3910)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CA5 #A2A53C
analogous
#3C6EA5 #3F3CA5 #743CA5
triadic
#3F3CA5 #A53F3C #3CA53F
tetradic
#3F3CA5 #A53C6E #A2A53C #3CA574
square
#3F3CA5 #A53C6E #A2A53C #3CA574
split-complementary
#3F3CA5 #A5743C #6EA53C
monochromatic
#1D1B4B #2E2C78 #3F3CA5 #5E5BC3 #8A88D4

Accessibility & contrast

On white

8.75
#3F3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CA5
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CA5#FFFFFF#000000##FFFFFF
##3F3CA51.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f3ca5;
/* rgb */ color: rgb(63, 60, 165);
/* oklch */ color: oklch(42.6% 0.164 278.1);
Tailwind
colors: {
  custom: {
    50: '#7f72c1',
    500: '#3f3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ca5;
$custom-light: #7f72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ca5",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 241.714,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.426,
    "c": 0.16386,
    "h": 278.1
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#3F3CA5
secondary
#BCBE7F
accent
#D651D3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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