#3030C7#3030C7

#3030C7 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.223 H 272.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3030C7
RGBrgb(48, 48, 199)
HSLhsl(240, 61%, 48%)
HSVhsv(240, 76%, 78%)
CMYKcmyk(75.9%, 75.9%, 0%, 22%)
CIE-LABlab(31.50, 50.09, -77.08)
CIE-LCHlch(31.50, 91.93, 303.02°)
OKLaboklab(43.09% 0.0077 -0.2231)
OKLCHoklch(43.09% 0.223 272)
XYZxyz(12.5812, 6.8645, 54.6837)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030C7 #C7C730
analogous
#307BC7 #3030C7 #7B30C7
triadic
#3030C7 #C73030 #30C730
tetradic
#3030C7 #C7307B #C7C730 #30C77B
square
#3030C7 #C7307B #C7C730 #30C77B
split-complementary
#3030C7 #C77B30 #7BC730
monochromatic
#181864 #242496 #3030C7 #5C5CD8 #8E8EE4

Accessibility & contrast

On white

8.85
#3030C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3030C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030C7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030C7#FFFFFF#000000##FFFFFF
##3030C71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3030c7;
/* rgb */ color: rgb(48, 48, 199);
/* oklch */ color: oklch(43.1% 0.223 272.0);
Tailwind
colors: {
  custom: {
    50: '#816bd9',
    500: '#3030c7',
    950: '#000000',
  },
}
SCSS
$custom: #3030c7;
$custom-light: #816bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3030c7",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 240,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.22327,
    "h": 272
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3030C7

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

Preview Lab → · Contrast checker → · Palette generator →

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