#302DC9#302DC9

#302DC9 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.9% C 0.228 H 272.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#302DC9
RGBrgb(48, 45, 201)
HSLhsl(241, 63%, 48%)
HSVhsv(241, 78%, 79%)
CMYKcmyk(76.1%, 77.6%, 0%, 21.2%)
CIE-LABlab(31.16, 52.31, -78.81)
CIE-LCHlch(31.16, 94.59, 303.57°)
OKLaboklab(42.92% 0.0084 -0.2281)
OKLCHoklch(42.92% 0.228 272.1)
XYZxyz(12.6964, 6.7208, 55.8751)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302DC9 #C6C92D
analogous
#2D78C9 #302DC9 #7E2DC9
triadic
#302DC9 #C9302D #2DC930
tetradic
#302DC9 #C92D78 #C6C92D #2DC97E
square
#302DC9 #C92D78 #C6C92D #2DC97E
split-complementary
#302DC9 #C97E2D #78C92D
monochromatic
#181765 #242297 #302DC9 #5C59DA #8D8BE5

Accessibility & contrast

On white

8.96
#302DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#302DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302DC9
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302DC9#FFFFFF#000000##FFFFFF
##302DC91.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #302dc9;
/* rgb */ color: rgb(48, 45, 201);
/* oklch */ color: oklch(42.9% 0.228 272.1);
Tailwind
colors: {
  custom: {
    50: '#8269db',
    500: '#302dc9',
    950: '#000000',
  },
}
SCSS
$custom: #302dc9;
$custom-light: #8269db;
$custom-dark: #000000;
JSON
{
  "hex": "#302dc9",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 241.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.22825,
    "h": 272.1
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#302DC9
secondary
#CECF83
accent
#E641E3
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #302DC9

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

Preview Lab → · Contrast checker → · Palette generator →

#302DC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva