#3F30C7#3F30C7

#3F30C7 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.220 H 276.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3F30C7
RGBrgb(63, 48, 199)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 78%)
CMYKcmyk(68.3%, 75.9%, 0%, 22%)
CIE-LABlab(32.46, 51.41, -75.45)
CIE-LCHlch(32.46, 91.30, 304.27°)
OKLaboklab(44.03% 0.0262 -0.218)
OKLCHoklch(44.03% 0.22 276.8)
XYZxyz(13.4123, 7.2930, 54.7226)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30C7 #B8C730
analogous
#306CC7 #3F30C7 #8A30C7
triadic
#3F30C7 #C73F30 #30C73F
tetradic
#3F30C7 #C7306C #B8C730 #30C78A
square
#3F30C7 #C7306C #B8C730 #30C78A
split-complementary
#3F30C7 #C78A30 #6CC730
monochromatic
#201864 #2F2496 #3F30C7 #695CD8 #968EE4

Accessibility & contrast

On white

8.54
#3F30C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F30C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30C7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30C7#FFFFFF#000000##FFFFFF
##3F30C71.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0046C4
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f30c7;
/* rgb */ color: rgb(63, 48, 199);
/* oklch */ color: oklch(44.0% 0.220 276.8);
Tailwind
colors: {
  custom: {
    50: '#876bd9',
    500: '#3f30c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f30c7;
$custom-light: #876bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30c7",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 245.96,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.21961,
    "h": 276.8
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#3F30C7
secondary
#C7CE85
accent
#E444D4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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