#3030C5#3030C5

#3030C5 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.221 H 272.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3030C5
RGBrgb(48, 48, 197)
HSLhsl(240, 61%, 48%)
HSVhsv(240, 76%, 77%)
CMYKcmyk(75.6%, 75.6%, 0%, 22.7%)
CIE-LABlab(31.28, 49.45, -76.27)
CIE-LCHlch(31.28, 90.89, 302.96°)
OKLaboklab(42.88% 0.0081 -0.2208)
OKLCHoklch(42.88% 0.221 272.1)
XYZxyz(12.3505, 6.7722, 53.4688)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030C5 #C5C530
analogous
#307AC5 #3030C5 #7A30C5
triadic
#3030C5 #C53030 #30C530
tetradic
#3030C5 #C5307A #C5C530 #30C57A
square
#3030C5 #C5307A #C5C530 #30C57A
split-complementary
#3030C5 #C57A30 #7AC530
monochromatic
#181863 #242494 #3030C5 #5B5BD7 #8C8CE3

Accessibility & contrast

On white

8.92
#3030C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3030C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030C5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030C5#FFFFFF#000000##FFFFFF
##3030C51.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0042C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3030c5;
/* rgb */ color: rgb(48, 48, 197);
/* oklch */ color: oklch(42.9% 0.221 272.1);
Tailwind
colors: {
  custom: {
    50: '#816bd8',
    500: '#3030c5',
    950: '#000000',
  },
}
SCSS
$custom: #3030c5;
$custom-light: #816bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3030c5",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.22091,
    "h": 272.1
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#3030C5
secondary
#CDCD84
accent
#E444E4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3030C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3030C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva