#3030AD#3030AD

#3030AD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.192 H 273.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3030AD
RGBrgb(48, 48, 173)
HSLhsl(240, 57%, 43%)
HSVhsv(240, 72%, 68%)
CMYKcmyk(72.3%, 72.3%, 0%, 32.2%)
CIE-LABlab(28.79, 41.51, -66.15)
CIE-LCHlch(28.79, 78.10, 302.11°)
OKLaboklab(40.37% 0.0123 -0.1913)
OKLCHoklch(40.37% 0.192 273.7)
XYZxyz(9.8162, 5.7584, 40.1212)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030AD #ADAD30
analogous
#306EAD #3030AD #6E30AD
triadic
#3030AD #AD3030 #30AD30
tetradic
#3030AD #AD306E #ADAD30 #30AD6E
square
#3030AD #AD306E #ADAD30 #30AD6E
split-complementary
#3030AD #AD6E30 #6EAD30
monochromatic
#15154D #23237D #3030AD #4D4DCE #7D7DDB

Accessibility & contrast

On white

9.76
#3030AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3030AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030AD
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030AD#FFFFFF#000000##FFFFFF
##3030AD1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3030ad;
/* rgb */ color: rgb(48, 48, 173);
/* oklch */ color: oklch(40.4% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#7b69c7',
    500: '#3030ad',
    950: '#000000',
  },
}
SCSS
$custom: #3030ad;
$custom-light: #7b69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3030ad",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40367,
    "c": 0.19171,
    "h": 273.7
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#3030AD
secondary
#C3C375
accent
#E048E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3030AD

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

Preview Lab → · Contrast checker → · Palette generator →

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