#302086#302086

#302086 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.159 H 280.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#302086
RGBrgb(48, 32, 134)
HSLhsl(249, 61%, 33%)
HSVhsv(249, 76%, 53%)
CMYKcmyk(64.2%, 76.1%, 0%, 47.5%)
CIE-LABlab(21.51, 37.80, -54.23)
CIE-LCHlch(21.51, 66.11, 304.88°)
OKLaboklab(34% 0.0301 -0.1564)
OKLCHoklch(34% 0.159 280.9)
XYZxyz(6.0372, 3.3822, 22.8843)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302086 #768620
analogous
#204386 #302086 #632086
triadic
#302086 #863020 #208630
tetradic
#302086 #862043 #768620 #208663
square
#302086 #862043 #768620 #208663
split-complementary
#302086 #866320 #438620
monochromatic
#0D0823 #1E1455 #302086 #422CB7 #614CD4

Accessibility & contrast

On white

12.53
#302086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#302086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302086
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302086#FFFFFF#000000##FFFFFF
##3020861.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302086;
/* rgb */ color: rgb(48, 32, 134);
/* oklch */ color: oklch(34.0% 0.159 280.9);
Tailwind
colors: {
  custom: {
    50: '#745eaa',
    500: '#302086',
    950: '#000000',
  },
}
SCSS
$custom: #302086;
$custom-light: #745eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#302086",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 249.412,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.15932,
    "h": 280.9
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#302086
secondary
#A6B74B
accent
#E543CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302086

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

Preview Lab → · Contrast checker → · Palette generator →

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