#302082#302082

#302082 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.154 H 281.6°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#302082
RGBrgb(48, 32, 130)
HSLhsl(250, 60%, 32%)
HSVhsv(250, 75%, 51%)
CMYKcmyk(63.1%, 75.4%, 0%, 49%)
CIE-LABlab(21.10, 36.50, -52.39)
CIE-LCHlch(21.10, 63.85, 304.87°)
OKLaboklab(33.58% 0.0311 -0.1511)
OKLCHoklch(33.58% 0.154 281.6)
XYZxyz(5.7634, 3.2727, 21.4427)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302082 #728220
analogous
#204182 #302082 #612082
triadic
#302082 #823020 #208230
tetradic
#302082 #822041 #728220 #208261
square
#302082 #822041 #728220 #208261
split-complementary
#302082 #826120 #418220
monochromatic
#0C0820 #1E1451 #302082 #422CB3 #604AD2

Accessibility & contrast

On white

12.69
#302082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#302082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302082
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302082#FFFFFF#000000##FFFFFF
##3020821.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #302082;
/* rgb */ color: rgb(48, 32, 130);
/* oklch */ color: oklch(33.6% 0.154 281.6);
Tailwind
colors: {
  custom: {
    50: '#735da7',
    500: '#302082',
    950: '#000000',
  },
}
SCSS
$custom: #302082;
$custom-light: #735da7;
$custom-dark: #000000;
JSON
{
  "hex": "#302082",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 249.796,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.15422,
    "h": 281.6
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302082

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

Preview Lab → · Contrast checker → · Palette generator →

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