#3A30CF#3A30CF

#3A30CF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.5% C 0.230 H 274.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A30CF
RGBrgb(58, 48, 207)
HSLhsl(244, 62%, 50%)
HSVhsv(244, 77%, 81%)
CMYKcmyk(72%, 76.8%, 0%, 18.8%)
CIE-LABlab(32.96, 53.42, -79.31)
CIE-LCHlch(32.96, 95.63, 303.96°)
OKLaboklab(44.53% 0.0179 -0.2294)
OKLCHoklch(44.53% 0.23 274.5)
XYZxyz(14.0606, 7.5170, 59.7293)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A30CF #C5CF30
analogous
#3075CF #3A30CF #8A30CF
triadic
#3A30CF #CF3A30 #30CF3A
tetradic
#3A30CF #CF3075 #C5CF30 #30CF8A
square
#3A30CF #CF3075 #C5CF30 #30CF8A
split-complementary
#3A30CF #CF8A30 #75CF30
monochromatic
#1E196C #2C249D #3A30CF #6962DB #9993E6

Accessibility & contrast

On white

8.39
#3A30CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A30CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A30CF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A30CF#FFFFFF#000000##FFFFFF
##3A30CF1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D3
Deuteranopia (green-blind)
#0046CC
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a30cf;
/* rgb */ color: rgb(58, 48, 207);
/* oklch */ color: oklch(44.5% 0.230 274.5);
Tailwind
colors: {
  custom: {
    50: '#876cdf',
    500: '#3a30cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a30cf;
$custom-light: #876cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a30cf",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 243.774,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.2301,
    "h": 274.5
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#3A30CF
secondary
#CDD18A
accent
#E542DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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