#3F30C4#3F30C4

#3F30C4 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.216 H 277.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F30C4
RGBrgb(63, 48, 196)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(67.9%, 75.5%, 0%, 23.1%)
CIE-LABlab(32.16, 50.49, -74.20)
CIE-LCHlch(32.16, 89.75, 304.23°)
OKLaboklab(43.72% 0.0268 -0.2144)
OKLCHoklch(43.72% 0.216 277.1)
XYZxyz(13.0674, 7.1550, 52.9063)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30C4 #B5C430
analogous
#306BC4 #3F30C4 #8930C4
triadic
#3F30C4 #C43F30 #30C43F
tetradic
#3F30C4 #C4306B #B5C430 #30C489
square
#3F30C4 #C4306B #B5C430 #30C489
split-complementary
#3F30C4 #C48930 #6BC430
monochromatic
#1F1862 #2F2493 #3F30C4 #675AD7 #948CE3

Accessibility & contrast

On white

8.64
#3F30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30C4
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30C4#FFFFFF#000000##FFFFFF
##3F30C41.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0045C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f30c4;
/* rgb */ color: rgb(63, 48, 196);
/* oklch */ color: oklch(43.7% 0.216 277.1);
Tailwind
colors: {
  custom: {
    50: '#866bd7',
    500: '#3f30c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f30c4;
$custom-light: #866bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30c4",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 246.081,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43718,
    "c": 0.21608,
    "h": 277.1
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#3F30C4
secondary
#C5CD83
accent
#E444D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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