#30209C#30209C

#30209C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.186 H 277.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#30209C
RGBrgb(48, 32, 156)
HSLhsl(248, 66%, 37%)
HSVhsv(248, 79%, 61%)
CMYKcmyk(69.2%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.87, 44.81, -63.98)
CIE-LCHlch(23.87, 78.11, 305.00°)
OKLaboklab(36.35% 0.0244 -0.1849)
OKLCHoklch(36.35% 0.186 277.5)
XYZxyz(7.7342, 4.0610, 31.8223)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30209C #8C9C20
analogous
#204E9C #30209C #6E209C
triadic
#30209C #9C3020 #209C30
tetradic
#30209C #9C204E #8C9C20 #209C6E
square
#30209C #9C204E #8C9C20 #209C6E
split-complementary
#30209C #9C6E20 #4E9C20
monochromatic
#110B36 #201669 #30209C #402ACF #6A59DD

Accessibility & contrast

On white

11.59
#30209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#30209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30209C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30209C#FFFFFF#000000##FFFFFF
##30209C1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30209c;
/* rgb */ color: rgb(48, 32, 156);
/* oklch */ color: oklch(36.4% 0.186 277.5);
Tailwind
colors: {
  custom: {
    50: '#795fba',
    500: '#30209c',
    950: '#000000',
  },
}
SCSS
$custom: #30209c;
$custom-light: #795fba;
$custom-dark: #000000;
JSON
{
  "hex": "#30209c",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 247.742,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36354,
    "c": 0.18646,
    "h": 277.5
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#30209C
secondary
#B3C157
accent
#E93FD3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30209C

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

Preview Lab → · Contrast checker → · Palette generator →

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