#302393#302393

#302393 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.173 H 278.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#302393
RGBrgb(48, 35, 147)
HSLhsl(247, 62%, 36%)
HSVhsv(247, 76%, 58%)
CMYKcmyk(67.3%, 76.2%, 0%, 42.4%)
CIE-LABlab(23.46, 40.34, -59.13)
CIE-LCHlch(23.46, 71.58, 304.30°)
OKLaboklab(35.78% 0.025 -0.1708)
OKLCHoklch(35.78% 0.173 278.3)
XYZxyz(7.0847, 3.9364, 27.9846)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302393 #869323
analogous
#234E93 #302393 #682393
triadic
#302393 #933023 #239330
tetradic
#302393 #93234E #869323 #239368
square
#302393 #93234E #869323 #239368
split-complementary
#302393 #936823 #4E9323
monochromatic
#100B30 #201762 #302393 #402FC4 #6859D7

Accessibility & contrast

On white

11.75
#302393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#302393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302393
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302393#FFFFFF#000000##FFFFFF
##3023931.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302393;
/* rgb */ color: rgb(48, 35, 147);
/* oklch */ color: oklch(35.8% 0.173 278.3);
Tailwind
colors: {
  custom: {
    50: '#7760b4',
    500: '#302393',
    950: '#000000',
  },
}
SCSS
$custom: #302393;
$custom-light: #7760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302393",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 246.964,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35777,
    "c": 0.17257,
    "h": 278.3
  },
  "luminance": 0.03937
}

Semantic roles & 50–950 ramp

primary
#302393
secondary
#B0BC56
accent
#E543D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302393

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

Preview Lab → · Contrast checker → · Palette generator →

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