#3F30C1#3F30C1

#3F30C1 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.213 H 277.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3F30C1
RGBrgb(63, 48, 193)
HSLhsl(246, 60%, 47%)
HSVhsv(246, 75%, 76%)
CMYKcmyk(67.4%, 75.1%, 0%, 24.3%)
CIE-LABlab(31.85, 49.56, -72.95)
CIE-LCHlch(31.85, 88.19, 304.19°)
OKLaboklab(43.41% 0.0275 -0.2107)
OKLCHoklch(43.41% 0.213 277.4)
XYZxyz(12.7294, 7.0198, 51.1259)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30C1 #B2C130
analogous
#3069C1 #3F30C1 #8830C1
triadic
#3F30C1 #C13F30 #30C13F
tetradic
#3F30C1 #C13069 #B2C130 #30C188
square
#3F30C1 #C13069 #B2C130 #30C188
split-complementary
#3F30C1 #C18830 #69C130
monochromatic
#1F185F #2F2490 #3F30C1 #6659D6 #938AE2

Accessibility & contrast

On white

8.73
#3F30C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F30C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30C1
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30C1#FFFFFF#000000##FFFFFF
##3F30C11.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f30c1;
/* rgb */ color: rgb(63, 48, 193);
/* oklch */ color: oklch(43.4% 0.213 277.4);
Tailwind
colors: {
  custom: {
    50: '#866bd5',
    500: '#3f30c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f30c1;
$custom-light: #866bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30c1",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 246.207,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.21254,
    "h": 277.4
  },
  "luminance": 0.07021
}

Semantic roles & 50–950 ramp

primary
#3F30C1
secondary
#C4CC81
accent
#E344D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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