#3F3BAF#3F3BAF

#3F3BAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.178 H 277.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3F3BAF
RGBrgb(63, 59, 175)
HSLhsl(242, 50%, 46%)
HSVhsv(242, 66%, 69%)
CMYKcmyk(64%, 66.3%, 0%, 31.4%)
CIE-LABlab(32.43, 37.45, -61.33)
CIE-LCHlch(32.43, 71.86, 301.41°)
OKLaboklab(43.31% 0.0231 -0.1768)
OKLCHoklch(43.31% 0.178 277.4)
XYZxyz(11.3492, 7.2789, 41.3560)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BAF #ABAF3B
analogous
#3B71AF #3F3BAF #793BAF
triadic
#3F3BAF #AF3F3B #3BAF3F
tetradic
#3F3BAF #AF3B71 #ABAF3B #3BAF79
square
#3F3BAF #AF3B71 #ABAF3B #3BAF79
split-complementary
#3F3BAF #AF793B #71AF3B
monochromatic
#1E1C53 #2F2C81 #3F3BAF #625EC9 #8F8CD8

Accessibility & contrast

On white

8.55
#3F3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BAF
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BAF#FFFFFF#000000##FFFFFF
##3F3BAF1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3baf;
/* rgb */ color: rgb(63, 59, 175);
/* oklch */ color: oklch(43.3% 0.178 277.4);
Tailwind
colors: {
  custom: {
    50: '#8171c8',
    500: '#3f3baf',
    950: '#000000',
  },
}
SCSS
$custom: #3f3baf;
$custom-light: #8171c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3baf",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 242.069,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.17834,
    "h": 277.4
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#3F3BAF
secondary
#C1C383
accent
#D94FD4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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