#302394#302394

#302394 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.174 H 278.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#302394
RGBrgb(48, 35, 148)
HSLhsl(247, 62%, 36%)
HSVhsv(247, 76%, 58%)
CMYKcmyk(67.6%, 76.4%, 0%, 42%)
CIE-LABlab(23.57, 40.66, -59.57)
CIE-LCHlch(23.57, 72.12, 304.32°)
OKLaboklab(35.88% 0.0248 -0.172)
OKLCHoklch(35.88% 0.174 278.2)
XYZxyz(7.1635, 3.9680, 28.3996)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302394 #879423
analogous
#234E94 #302394 #682394
triadic
#302394 #943023 #239430
tetradic
#302394 #94234E #879423 #239468
square
#302394 #94234E #879423 #239468
split-complementary
#302394 #946823 #4E9423
monochromatic
#100C31 #201763 #302394 #402FC5 #685AD8

Accessibility & contrast

On white

11.71
#302394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302394
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302394#FFFFFF#000000##FFFFFF
##3023941.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302394;
/* rgb */ color: rgb(48, 35, 148);
/* oklch */ color: oklch(35.9% 0.174 278.2);
Tailwind
colors: {
  custom: {
    50: '#7760b5',
    500: '#302394',
    950: '#000000',
  },
}
SCSS
$custom: #302394;
$custom-light: #7760b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302394",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 246.903,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35882,
    "c": 0.17383,
    "h": 278.2
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302394

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

Preview Lab → · Contrast checker → · Palette generator →

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