#3030A3#3030A3

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

Color values

HEX#3030A3
RGBrgb(48, 48, 163)
HSLhsl(240, 55%, 41%)
HSVhsv(240, 71%, 64%)
CMYKcmyk(70.6%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.81, 38.10, -61.75)
CIE-LCHlch(27.81, 72.56, 301.67°)
OKLaboklab(39.36% 0.0138 -0.1785)
OKLCHoklch(39.36% 0.179 274.4)
XYZxyz(8.8845, 5.3858, 35.2146)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030A3 #A3A330
analogous
#306AA3 #3030A3 #6A30A3
triadic
#3030A3 #A33030 #30A330
tetradic
#3030A3 #A3306A #A3A330 #30A36A
square
#3030A3 #A3306A #A3A330 #30A36A
split-complementary
#3030A3 #A36A30 #6AA330
monochromatic
#141444 #222274 #3030A3 #4747C9 #7777D7

Accessibility & contrast

On white

10.11
#3030A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3030A3
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030A3#FFFFFF#000000##FFFFFF
##3030A31.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3030a3;
/* rgb */ color: rgb(48, 48, 163);
/* oklch */ color: oklch(39.4% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#7969bf',
    500: '#3030a3',
    950: '#000000',
  },
}
SCSS
$custom: #3030a3;
$custom-light: #7969bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3030a3",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 240,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39361,
    "c": 0.17902,
    "h": 274.4
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#3030A3
secondary
#BFBF70
accent
#DE4ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #3030A3

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

Preview Lab → · Contrast checker → · Palette generator →

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