#3F30AC#3F30AC

#3F30AC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.187 H 279.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3F30AC
RGBrgb(63, 48, 172)
HSLhsl(247, 56%, 43%)
HSVhsv(247, 72%, 67%)
CMYKcmyk(63.4%, 72.1%, 0%, 32.5%)
CIE-LABlab(29.78, 42.96, -63.89)
CIE-LCHlch(29.78, 76.98, 303.92°)
OKLaboklab(41.32% 0.0319 -0.1843)
OKLCHoklch(41.32% 0.187 279.8)
XYZxyz(10.5509, 6.1484, 39.6525)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30AC #9DAC30
analogous
#305FAC #3F30AC #7D30AC
triadic
#3F30AC #AC3F30 #30AC3F
tetradic
#3F30AC #AC305F #9DAC30 #30AC7D
square
#3F30AC #AC305F #9DAC30 #30AC7D
split-complementary
#3F30AC #AC7D30 #5FAC30
monochromatic
#1C154C #2D237C #3F30AC #5C4CCD #877CDA

Accessibility & contrast

On white

9.42
#3F30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30AC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30AC#FFFFFF#000000##FFFFFF
##3F30AC1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f30ac;
/* rgb */ color: rgb(63, 48, 172);
/* oklch */ color: oklch(41.3% 0.187 279.8);
Tailwind
colors: {
  custom: {
    50: '#826ac6',
    500: '#3f30ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f30ac;
$custom-light: #826ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30ac",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 247.258,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.18705,
    "h": 279.8
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#3F30AC
secondary
#BAC375
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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