#302392#302392

#302392 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.171 H 278.5°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#302392
RGBrgb(48, 35, 146)
HSLhsl(247, 61%, 35%)
HSVhsv(247, 76%, 57%)
CMYKcmyk(67.1%, 76%, 0%, 42.7%)
CIE-LABlab(23.36, 40.01, -58.68)
CIE-LCHlch(23.36, 71.02, 304.29°)
OKLaboklab(35.67% 0.0253 -0.1694)
OKLCHoklch(35.67% 0.171 278.5)
XYZxyz(7.0066, 3.9052, 27.5731)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302392 #859223
analogous
#234D92 #302392 #672392
triadic
#302392 #923023 #239230
tetradic
#302392 #92234D #859223 #239267
square
#302392 #92234D #859223 #239267
split-complementary
#302392 #926723 #4D9223
monochromatic
#100B2F #201761 #302392 #402FC3 #6758D7

Accessibility & contrast

On white

11.79
#302392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302392
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302392#FFFFFF#000000##FFFFFF
##3023921.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302392;
/* rgb */ color: rgb(48, 35, 146);
/* oklch */ color: oklch(35.7% 0.171 278.5);
Tailwind
colors: {
  custom: {
    50: '#7660b3',
    500: '#302392',
    950: '#000000',
  },
}
SCSS
$custom: #302392;
$custom-light: #7660b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302392",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 247.027,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.17132,
    "h": 278.5
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#302392
secondary
#AFBB55
accent
#E443D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302392

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

Preview Lab → · Contrast checker → · Palette generator →

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