#3030A5#3030A5

#3030A5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.182 H 274.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3030A5
RGBrgb(48, 48, 165)
HSLhsl(240, 55%, 42%)
HSVhsv(240, 71%, 65%)
CMYKcmyk(70.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(28.00, 38.78, -62.64)
CIE-LCHlch(28.00, 73.68, 301.76°)
OKLaboklab(39.56% 0.0135 -0.1811)
OKLCHoklch(39.56% 0.182 274.3)
XYZxyz(9.0652, 5.4580, 36.1658)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030A5 #A5A530
analogous
#306BA5 #3030A5 #6B30A5
triadic
#3030A5 #A53030 #30A530
tetradic
#3030A5 #A5306B #A5A530 #30A56B
square
#3030A5 #A5306B #A5A530 #30A56B
split-complementary
#3030A5 #A56B30 #6BA530
monochromatic
#141446 #222276 #3030A5 #4848CA #7878D8

Accessibility & contrast

On white

10.04
#3030A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3030A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030A5
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030A5#FFFFFF#000000##FFFFFF
##3030A51.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3030a5;
/* rgb */ color: rgb(48, 48, 165);
/* oklch */ color: oklch(39.6% 0.182 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a69c1',
    500: '#3030a5',
    950: '#000000',
  },
}
SCSS
$custom: #3030a5;
$custom-light: #7a69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3030a5",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.18159,
    "h": 274.3
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#3030A5
secondary
#C0C071
accent
#DE4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3030A5

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

Preview Lab → · Contrast checker → · Palette generator →

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