#3F3CA2#3F3CA2

#3F3CA2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.160 H 278.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3F3CA2
RGBrgb(63, 60, 162)
HSLhsl(242, 46%, 44%)
HSVhsv(242, 63%, 64%)
CMYKcmyk(61.1%, 63%, 0%, 36.5%)
CIE-LABlab(31.57, 32.45, -54.95)
CIE-LCHlch(31.57, 63.81, 300.56°)
OKLaboklab(42.34% 0.0234 -0.1581)
OKLCHoklch(42.34% 0.16 278.4)
XYZxyz(10.1853, 6.8964, 34.9698)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CA2 #9FA23C
analogous
#3C6CA2 #3F3CA2 #723CA2
triadic
#3F3CA2 #A23F3C #3CA23F
tetradic
#3F3CA2 #A23C6C #9FA23C #3CA272
square
#3F3CA2 #A23C6C #9FA23C #3CA272
split-complementary
#3F3CA2 #A2723C #6CA23C
monochromatic
#1C1B49 #2E2B75 #3F3CA2 #5D59C2 #8886D2

Accessibility & contrast

On white

8.83
#3F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CA2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CA2#FFFFFF#000000##FFFFFF
##3F3CA21.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3ca2;
/* rgb */ color: rgb(63, 60, 162);
/* oklch */ color: oklch(42.3% 0.160 278.4);
Tailwind
colors: {
  custom: {
    50: '#7f72be',
    500: '#3f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ca2;
$custom-light: #7f72be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ca2",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 241.765,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42343,
    "c": 0.15981,
    "h": 278.4
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#3F3CA2
secondary
#BBBC7D
accent
#D652D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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