#302385#302385

#302385 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.155 H 280.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#302385
RGBrgb(48, 35, 133)
HSLhsl(248, 58%, 33%)
HSVhsv(248, 74%, 52%)
CMYKcmyk(63.9%, 73.7%, 0%, 47.8%)
CIE-LABlab(22.03, 35.75, -52.76)
CIE-LCHlch(22.03, 63.73, 304.12°)
OKLaboklab(34.33% 0.0281 -0.1521)
OKLCHoklch(34.33% 0.155 280.5)
XYZxyz(6.0523, 3.5234, 22.5469)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302385 #788523
analogous
#234785 #302385 #612385
triadic
#302385 #853023 #238530
tetradic
#302385 #852347 #788523 #238561
square
#302385 #852347 #788523 #238561
split-complementary
#302385 #856123 #478523
monochromatic
#0D0924 #1F1655 #302385 #4130B5 #6251D1

Accessibility & contrast

On white

12.32
#302385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#302385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302385
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302385#FFFFFF#000000##FFFFFF
##3023851.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #302385;
/* rgb */ color: rgb(48, 35, 133);
/* oklch */ color: oklch(34.3% 0.155 280.5);
Tailwind
colors: {
  custom: {
    50: '#745fa9',
    500: '#302385',
    950: '#000000',
  },
}
SCSS
$custom: #302385;
$custom-light: #745fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#302385",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 247.959,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3433,
    "c": 0.15472,
    "h": 280.5
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#302385
secondary
#A7B54F
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #302385

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

Preview Lab → · Contrast checker → · Palette generator →

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