#30328B#30328B

#30328B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.144 H 275.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#30328B
RGBrgb(48, 50, 139)
HSLhsl(239, 49%, 37%)
HSVhsv(239, 65%, 55%)
CMYKcmyk(65.5%, 64%, 0%, 45.5%)
CIE-LABlab(26.08, 28.39, -49.87)
CIE-LCHlch(26.08, 57.39, 299.65°)
OKLaboklab(37.43% 0.0149 -0.1437)
OKLCHoklch(37.43% 0.144 275.9)
XYZxyz(7.0182, 4.7731, 24.9725)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30328B #8B8930
analogous
#30608B #30328B #5C308B
triadic
#30328B #8B3032 #328B30
tetradic
#30328B #8B3060 #8B8930 #308B5C
square
#30328B #8B3060 #8B8930 #308B5C
split-complementary
#30328B #8B5C30 #608B30
monochromatic
#111130 #20225E #30328B #4042B8 #6A6CCC

Accessibility & contrast

On white

10.74
#30328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30328B
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30328B#FFFFFF#000000##FFFFFF
##30328B1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30328b;
/* rgb */ color: rgb(48, 50, 139);
/* oklch */ color: oklch(37.4% 0.144 275.9);
Tailwind
colors: {
  custom: {
    50: '#746aae',
    500: '#30328b',
    950: '#000000',
  },
}
SCSS
$custom: #30328b;
$custom-light: #746aae;
$custom-dark: #000000;
JSON
{
  "hex": "#30328b",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 238.681,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.14446,
    "h": 275.9
  },
  "luminance": 0.04774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30328B

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

Preview Lab → · Contrast checker → · Palette generator →

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