#30209A#30209A

#30209A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.184 H 277.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#30209A
RGBrgb(48, 32, 154)
HSLhsl(248, 66%, 36%)
HSVhsv(248, 79%, 60%)
CMYKcmyk(68.8%, 79.2%, 0%, 39.6%)
CIE-LABlab(23.65, 44.18, -63.12)
CIE-LCHlch(23.65, 77.05, 304.99°)
OKLaboklab(36.14% 0.025 -0.1824)
OKLCHoklch(36.14% 0.184 277.8)
XYZxyz(7.5663, 3.9938, 30.9377)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30209A #8A9A20
analogous
#204D9A #30209A #6D209A
triadic
#30209A #9A3020 #209A30
tetradic
#30209A #9A204D #8A9A20 #209A6D
square
#30209A #9A204D #8A9A20 #209A6D
split-complementary
#30209A #9A6D20 #4D9A20
monochromatic
#100B35 #201567 #30209A #402BCD #6958DC

Accessibility & contrast

On white

11.67
#30209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#30209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30209A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30209A#FFFFFF#000000##FFFFFF
##30209A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #30209a;
/* rgb */ color: rgb(48, 32, 154);
/* oklch */ color: oklch(36.1% 0.184 277.8);
Tailwind
colors: {
  custom: {
    50: '#785fb9',
    500: '#30209a',
    950: '#000000',
  },
}
SCSS
$custom: #30209a;
$custom-light: #785fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#30209a",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 247.869,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.18406,
    "h": 277.8
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#30209A
secondary
#B2C056
accent
#E93FD2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30209A

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

Preview Lab → · Contrast checker → · Palette generator →

#30209A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva