#3A30C2#3A30C2

#3A30C2 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.215 H 275.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3A30C2
RGBrgb(58, 48, 194)
HSLhsl(244, 60%, 47%)
HSVhsv(244, 75%, 76%)
CMYKcmyk(70.1%, 75.3%, 0%, 23.9%)
CIE-LABlab(31.59, 49.36, -73.97)
CIE-LCHlch(31.59, 88.93, 303.72°)
OKLaboklab(43.17% 0.0208 -0.2139)
OKLCHoklch(43.17% 0.215 275.5)
XYZxyz(12.5363, 6.9073, 51.7011)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30C2 #B8C230
analogous
#306FC2 #3A30C2 #8330C2
triadic
#3A30C2 #C23A30 #30C23A
tetradic
#3A30C2 #C2306F #B8C230 #30C283
square
#3A30C2 #C2306F #B8C230 #30C283
split-complementary
#3A30C2 #C28330 #6FC230
monochromatic
#1D1860 #2B2491 #3A30C2 #6259D6 #908AE2

Accessibility & contrast

On white

8.82
#3A30C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A30C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30C2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30C2#FFFFFF#000000##FFFFFF
##3A30C21.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0044BF
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a30c2;
/* rgb */ color: rgb(58, 48, 194);
/* oklch */ color: oklch(43.2% 0.215 275.5);
Tailwind
colors: {
  custom: {
    50: '#846bd6',
    500: '#3a30c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a30c2;
$custom-light: #846bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30c2",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 244.11,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.21486,
    "h": 275.5
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#3A30C2
secondary
#C7CC82
accent
#E344D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3A30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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