#3F30C2#3F30C2

#3F30C2 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.214 H 277.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3F30C2
RGBrgb(63, 48, 194)
HSLhsl(246, 60%, 47%)
HSVhsv(246, 75%, 76%)
CMYKcmyk(67.5%, 75.3%, 0%, 23.9%)
CIE-LABlab(31.95, 49.87, -73.37)
CIE-LCHlch(31.95, 88.71, 304.20°)
OKLaboklab(43.51% 0.0273 -0.212)
OKLCHoklch(43.51% 0.214 277.3)
XYZxyz(12.8413, 7.0646, 51.7154)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30C2 #B3C230
analogous
#306AC2 #3F30C2 #8830C2
triadic
#3F30C2 #C23F30 #30C23F
tetradic
#3F30C2 #C2306A #B3C230 #30C288
square
#3F30C2 #C2306A #B3C230 #30C288
split-complementary
#3F30C2 #C28830 #6AC230
monochromatic
#1F1860 #2F2491 #3F30C2 #6659D6 #938AE2

Accessibility & contrast

On white

8.70
#3F30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F30C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30C2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30C2#FFFFFF#000000##FFFFFF
##3F30C21.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0045BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f30c2;
/* rgb */ color: rgb(63, 48, 194);
/* oklch */ color: oklch(43.5% 0.214 277.3);
Tailwind
colors: {
  custom: {
    50: '#866bd6',
    500: '#3f30c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f30c2;
$custom-light: #866bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30c2",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 246.164,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.21373,
    "h": 277.3
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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