#302084#302084

#302084 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.157 H 281.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#302084
RGBrgb(48, 32, 132)
HSLhsl(250, 61%, 32%)
HSVhsv(250, 76%, 52%)
CMYKcmyk(63.6%, 75.8%, 0%, 48.2%)
CIE-LABlab(21.31, 37.15, -53.31)
CIE-LCHlch(21.31, 64.98, 304.87°)
OKLaboklab(33.79% 0.0306 -0.1538)
OKLCHoklch(33.79% 0.157 281.2)
XYZxyz(5.8990, 3.3269, 22.1566)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302084 #748420
analogous
#204284 #302084 #622084
triadic
#302084 #843020 #208430
tetradic
#302084 #842042 #748420 #208462
square
#302084 #842042 #748420 #208462
split-complementary
#302084 #846220 #428420
monochromatic
#0C0821 #1E1453 #302084 #422CB5 #614BD3

Accessibility & contrast

On white

12.61
#302084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#302084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302084
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302084#FFFFFF#000000##FFFFFF
##3020841.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302084;
/* rgb */ color: rgb(48, 32, 132);
/* oklch */ color: oklch(33.8% 0.157 281.2);
Tailwind
colors: {
  custom: {
    50: '#745ea9',
    500: '#302084',
    950: '#000000',
  },
}
SCSS
$custom: #302084;
$custom-light: #745ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#302084",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 249.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.15677,
    "h": 281.2
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#302084
secondary
#A5B64A
accent
#E444CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302084

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

Preview Lab → · Contrast checker → · Palette generator →

#302084 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva