#3030E2#3030E2

#3030E2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 46.0% C 0.254 H 270.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3030E2
RGBrgb(48, 48, 226)
HSLhsl(240, 75%, 54%)
HSVhsv(240, 79%, 89%)
CMYKcmyk(78.8%, 78.8%, 0%, 11.4%)
CIE-LABlab(34.46, 58.57, -87.79)
CIE-LCHlch(34.46, 105.53, 303.71°)
OKLaboklab(46.03% 0.0025 -0.2542)
OKLCHoklch(46.03% 0.254 270.6)
XYZxyz(15.9987, 8.2314, 72.6824)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030E2 #E2E230
analogous
#3089E2 #3030E2 #8930E2
triadic
#3030E2 #E23030 #30E230
tetradic
#3030E2 #E23089 #E2E230 #30E289
square
#3030E2 #E23089 #E2E230 #30E289
split-complementary
#3030E2 #E28930 #89E230
monochromatic
#131385 #1A1ABB #3030E2 #6666EA #9B9BF1

Accessibility & contrast

On white

7.93
#3030E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3030E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030E2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030E2#FFFFFF#000000##FFFFFF
##3030E21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0048DF
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3030e2;
/* rgb */ color: rgb(48, 48, 226);
/* oklch */ color: oklch(46.0% 0.254 270.6);
Tailwind
colors: {
  custom: {
    50: '#886ced',
    500: '#3030e2',
    950: '#000000',
  },
}
SCSS
$custom: #3030e2;
$custom-light: #886ced;
$custom-dark: #000000;
JSON
{
  "hex": "#3030e2",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.2542,
    "h": 270.6
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#3030E2
secondary
#DDDD91
accent
#F236F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3030E2

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

Preview Lab → · Contrast checker → · Palette generator →

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