#3030A4#3030A4

#3030A4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.180 H 274.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3030A4
RGBrgb(48, 48, 164)
HSLhsl(240, 55%, 42%)
HSVhsv(240, 71%, 64%)
CMYKcmyk(70.7%, 70.7%, 0%, 35.7%)
CIE-LABlab(27.90, 38.44, -62.20)
CIE-LCHlch(27.90, 73.12, 301.72°)
OKLaboklab(39.46% 0.0137 -0.1798)
OKLCHoklch(39.46% 0.18 274.4)
XYZxyz(8.9745, 5.4218, 35.6883)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030A4 #A4A430
analogous
#306AA4 #3030A4 #6A30A4
triadic
#3030A4 #A43030 #30A430
tetradic
#3030A4 #A4306A #A4A430 #30A46A
square
#3030A4 #A4306A #A4A430 #30A46A
split-complementary
#3030A4 #A46A30 #6AA430
monochromatic
#141445 #222275 #3030A4 #4848C9 #7777D7

Accessibility & contrast

On white

10.07
#3030A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3030A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030A4
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030A4#FFFFFF#000000##FFFFFF
##3030A41.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3030a4;
/* rgb */ color: rgb(48, 48, 164);
/* oklch */ color: oklch(39.5% 0.180 274.4);
Tailwind
colors: {
  custom: {
    50: '#7969c0',
    500: '#3030a4',
    950: '#000000',
  },
}
SCSS
$custom: #3030a4;
$custom-light: #7969c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3030a4",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 240,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.18031,
    "h": 274.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#3030A4
secondary
#BFBF70
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3030A4

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

Preview Lab → · Contrast checker → · Palette generator →

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