#3F309A#3F309A

#3F309A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.164 H 282.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3F309A
RGBrgb(63, 48, 154)
HSLhsl(248, 52%, 40%)
HSVhsv(248, 69%, 60%)
CMYKcmyk(59.1%, 68.8%, 0%, 39.6%)
CIE-LABlab(28.12, 37.19, -55.72)
CIE-LCHlch(28.12, 66.99, 303.72°)
OKLaboklab(39.63% 0.0351 -0.1604)
OKLCHoklch(39.63% 0.164 282.3)
XYZxyz(8.9378, 5.5032, 31.1568)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F309A #8B9A30
analogous
#30569A #3F309A #74309A
triadic
#3F309A #9A3F30 #309A3F
tetradic
#3F309A #9A3056 #8B9A30 #309A74
square
#3F309A #9A3056 #8B9A30 #309A74
split-complementary
#3F309A #9A7430 #569A30
monochromatic
#19133D #2C216B #3F309A #5543C4 #7F72D3

Accessibility & contrast

On white

10.00
#3F309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F309A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F309A#FFFFFF#000000##FFFFFF
##3F309A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#084B61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f309a;
/* rgb */ color: rgb(63, 48, 154);
/* oklch */ color: oklch(39.6% 0.164 282.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ab9',
    500: '#3f309a',
    950: '#000000',
  },
}
SCSS
$custom: #3f309a;
$custom-light: #7e6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f309a",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 248.491,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.16418,
    "h": 282.3
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#3F309A
secondary
#AFBB6B
accent
#DC4CC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F309A

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

Preview Lab → · Contrast checker → · Palette generator →

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