#30328A#30328A

#30328A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.143 H 276.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#30328A
RGBrgb(48, 50, 138)
HSLhsl(239, 48%, 36%)
HSVhsv(239, 65%, 54%)
CMYKcmyk(65.2%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.99, 28.04, -49.39)
CIE-LCHlch(25.99, 56.79, 299.58°)
OKLaboklab(37.34% 0.0149 -0.1423)
OKLCHoklch(37.34% 0.143 276)
XYZxyz(6.9455, 4.7440, 24.5895)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30328A #8A8830
analogous
#305F8A #30328A #5B308A
triadic
#30328A #8A3032 #328A30
tetradic
#30328A #8A305F #8A8830 #308A5B
square
#30328A #8A305F #8A8830 #308A5B
split-complementary
#30328A #8A5B30 #5F8A30
monochromatic
#10112F #20225D #30328A #4042B7 #696CCB

Accessibility & contrast

On white

10.77
#30328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#30328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30328A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30328A#FFFFFF#000000##FFFFFF
##30328A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30328a;
/* rgb */ color: rgb(48, 50, 138);
/* oklch */ color: oklch(37.3% 0.143 276.0);
Tailwind
colors: {
  custom: {
    50: '#736aad',
    500: '#30328a',
    950: '#000000',
  },
}
SCSS
$custom: #30328a;
$custom-light: #736aad;
$custom-dark: #000000;
JSON
{
  "hex": "#30328a",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 238.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.14305,
    "h": 276
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#30328A
secondary
#B2B064
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #30328A

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

Preview Lab → · Contrast checker → · Palette generator →

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