#3A30C9#3A30C9

#3A30C9 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.223 H 274.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3A30C9
RGBrgb(58, 48, 201)
HSLhsl(244, 61%, 49%)
HSVhsv(244, 76%, 79%)
CMYKcmyk(71.1%, 76.1%, 0%, 21.2%)
CIE-LABlab(32.32, 51.56, -76.87)
CIE-LCHlch(32.32, 92.56, 303.85°)
OKLaboklab(43.9% 0.0193 -0.2223)
OKLCHoklch(43.9% 0.223 274.9)
XYZxyz(13.3410, 7.2292, 55.9393)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30C9 #BFC930
analogous
#3072C9 #3A30C9 #8730C9
triadic
#3A30C9 #C93A30 #30C93A
tetradic
#3A30C9 #C93072 #BFC930 #30C987
square
#3A30C9 #C93072 #BFC930 #30C987
split-complementary
#3A30C9 #C98730 #72C930
monochromatic
#1D1866 #2C2498 #3A30C9 #665ED8 #958FE4

Accessibility & contrast

On white

8.59
#3A30C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A30C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30C9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30C9#FFFFFF#000000##FFFFFF
##3A30C91.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a30c9;
/* rgb */ color: rgb(58, 48, 201);
/* oklch */ color: oklch(43.9% 0.223 274.9);
Tailwind
colors: {
  custom: {
    50: '#866bdb',
    500: '#3a30c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a30c9;
$custom-light: #866bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30c9",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 243.922,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.22312,
    "h": 274.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#3A30C9
secondary
#CACF86
accent
#E543DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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