#30328D#30328D

#30328D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.147 H 275.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#30328D
RGBrgb(48, 50, 141)
HSLhsl(239, 49%, 37%)
HSVhsv(239, 66%, 55%)
CMYKcmyk(66%, 64.5%, 0%, 44.7%)
CIE-LABlab(26.25, 29.11, -50.83)
CIE-LCHlch(26.25, 58.58, 299.80°)
OKLaboklab(37.61% 0.0147 -0.1465)
OKLCHoklch(37.61% 0.147 275.7)
XYZxyz(7.1657, 4.8321, 25.7492)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30328D #8D8B30
analogous
#30608D #30328D #5D308D
triadic
#30328D #8D3032 #328D30
tetradic
#30328D #8D3060 #8D8B30 #308D5D
square
#30328D #8D3060 #8D8B30 #308D5D
split-complementary
#30328D #8D5D30 #608D30
monochromatic
#111232 #20225F #30328D #4042BB #6B6DCD

Accessibility & contrast

On white

10.68
#30328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#30328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30328D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30328D#FFFFFF#000000##FFFFFF
##30328D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30328d;
/* rgb */ color: rgb(48, 50, 141);
/* oklch */ color: oklch(37.6% 0.147 275.7);
Tailwind
colors: {
  custom: {
    50: '#746aaf',
    500: '#30328d',
    950: '#000000',
  },
}
SCSS
$custom: #30328d;
$custom-light: #746aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#30328d",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 238.71,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.14724,
    "h": 275.7
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#30328D
secondary
#B4B265
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #30328D

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

Preview Lab → · Contrast checker → · Palette generator →

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