#3F30A4#3F30A4

#3F30A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.177 H 280.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3F30A4
RGBrgb(63, 48, 164)
HSLhsl(248, 55%, 42%)
HSVhsv(248, 71%, 64%)
CMYKcmyk(61.6%, 70.7%, 0%, 35.7%)
CIE-LABlab(29.03, 40.40, -60.31)
CIE-LCHlch(29.03, 72.59, 303.82°)
OKLaboklab(40.56% 0.0334 -0.1738)
OKLCHoklch(40.56% 0.177 280.9)
XYZxyz(9.8056, 5.8503, 35.7273)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30A4 #95A430
analogous
#305BA4 #3F30A4 #7930A4
triadic
#3F30A4 #A43F30 #30A43F
tetradic
#3F30A4 #A4305B #95A430 #30A479
square
#3F30A4 #A4305B #95A430 #30A479
split-complementary
#3F30A4 #A47930 #5BA430
monochromatic
#1B1445 #2D2275 #3F30A4 #5948C9 #8477D7

Accessibility & contrast

On white

9.68
#3F30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30A4
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30A4#FFFFFF#000000##FFFFFF
##3F30A41.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f30a4;
/* rgb */ color: rgb(63, 48, 164);
/* oklch */ color: oklch(40.6% 0.177 280.9);
Tailwind
colors: {
  custom: {
    50: '#806ac0',
    500: '#3f30a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f30a4;
$custom-light: #806ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30a4",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 247.759,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40558,
    "c": 0.17701,
    "h": 280.9
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#3F30A4
secondary
#B5BF70
accent
#DE4ACB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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