#30328E#30328E

#30328E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.149 H 275.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#30328E
RGBrgb(48, 50, 142)
HSLhsl(239, 49%, 37%)
HSVhsv(239, 66%, 56%)
CMYKcmyk(66.2%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.34, 29.46, -51.31)
CIE-LCHlch(26.34, 59.17, 299.87°)
OKLaboklab(37.7% 0.0147 -0.1479)
OKLCHoklch(37.7% 0.149 275.7)
XYZxyz(7.2404, 4.8620, 26.1428)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30328E #8E8C30
analogous
#30618E #30328E #5D308E
triadic
#30328E #8E3032 #328E30
tetradic
#30328E #8E3061 #8E8C30 #308E5D
square
#30328E #8E3061 #8E8C30 #308E5D
split-complementary
#30328E #8E5D30 #618E30
monochromatic
#111233 #212260 #30328E #3F42BC #6B6DCD

Accessibility & contrast

On white

10.65
#30328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30328E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30328E#FFFFFF#000000##FFFFFF
##30328E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #30328e;
/* rgb */ color: rgb(48, 50, 142);
/* oklch */ color: oklch(37.7% 0.149 275.7);
Tailwind
colors: {
  custom: {
    50: '#746ab0',
    500: '#30328e',
    950: '#000000',
  },
}
SCSS
$custom: #30328e;
$custom-light: #746ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#30328e",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 238.723,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37701,
    "c": 0.14862,
    "h": 275.7
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#30328E
secondary
#B4B365
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #30328E

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

Preview Lab → · Contrast checker → · Palette generator →

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