#3F309C#3F309C

#3F309C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.167 H 282.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3F309C
RGBrgb(63, 48, 156)
HSLhsl(248, 53%, 40%)
HSVhsv(248, 69%, 61%)
CMYKcmyk(59.6%, 69.2%, 0%, 38.8%)
CIE-LABlab(28.30, 37.83, -56.65)
CIE-LCHlch(28.30, 68.12, 303.74°)
OKLaboklab(39.81% 0.0348 -0.1631)
OKLCHoklch(39.81% 0.167 282)
XYZxyz(9.1057, 5.5704, 32.0414)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F309C #8D9C30
analogous
#30579C #3F309C #75309C
triadic
#3F309C #9C3F30 #309C3F
tetradic
#3F309C #9C3057 #8D9C30 #309C75
square
#3F309C #9C3057 #8D9C30 #309C75
split-complementary
#3F309C #9C7530 #579C30
monochromatic
#19133E #2C226D #3F309C #5644C5 #8073D4

Accessibility & contrast

On white

9.93
#3F309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F309C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F309C#FFFFFF#000000##FFFFFF
##3F309C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#024C62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f309c;
/* rgb */ color: rgb(63, 48, 156);
/* oklch */ color: oklch(39.8% 0.167 282.0);
Tailwind
colors: {
  custom: {
    50: '#7f6aba',
    500: '#3f309c',
    950: '#000000',
  },
}
SCSS
$custom: #3f309c;
$custom-light: #7f6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f309c",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 248.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.16677,
    "h": 282
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#3F309C
secondary
#B1BC6C
accent
#DC4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F309C

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

Preview Lab → · Contrast checker → · Palette generator →

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