#3A30C4#3A30C4

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

Color values

HEX#3A30C4
RGBrgb(58, 48, 196)
HSLhsl(244, 61%, 48%)
HSVhsv(244, 76%, 77%)
CMYKcmyk(70.4%, 75.5%, 0%, 23.1%)
CIE-LABlab(31.80, 49.99, -74.80)
CIE-LCHlch(31.80, 89.97, 303.76°)
OKLaboklab(43.38% 0.0203 -0.2163)
OKLCHoklch(43.38% 0.217 275.4)
XYZxyz(12.7624, 6.9978, 52.8920)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30C4 #BAC430
analogous
#3070C4 #3A30C4 #8430C4
triadic
#3A30C4 #C43A30 #30C43A
tetradic
#3A30C4 #C43070 #BAC430 #30C484
square
#3A30C4 #C43070 #BAC430 #30C484
split-complementary
#3A30C4 #C48430 #70C430
monochromatic
#1D1862 #2B2493 #3A30C4 #635AD7 #928CE3

Accessibility & contrast

On white

8.75
#3A30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A30C4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30C4#FFFFFF#000000##FFFFFF
##3A30C41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a30c4;
/* rgb */ color: rgb(58, 48, 196);
/* oklch */ color: oklch(43.4% 0.217 275.4);
Tailwind
colors: {
  custom: {
    50: '#846bd7',
    500: '#3a30c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a30c4;
$custom-light: #846bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30c4",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 244.054,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.21723,
    "h": 275.4
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#3A30C4
secondary
#C8CD83
accent
#E444D9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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