#302BC0#302BC0

#302BC0 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.220 H 272.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#302BC0
RGBrgb(48, 43, 192)
HSLhsl(242, 63%, 46%)
HSVhsv(242, 78%, 75%)
CMYKcmyk(75%, 77.6%, 0%, 24.7%)
CIE-LABlab(29.81, 50.50, -75.76)
CIE-LCHlch(29.81, 91.04, 303.69°)
OKLaboklab(41.68% 0.011 -0.2192)
OKLCHoklch(41.68% 0.22 272.9)
XYZxyz(11.5940, 6.1607, 50.4371)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BC0 #BBC02B
analogous
#2B71C0 #302BC0 #7A2BC0
triadic
#302BC0 #C0302B #2BC030
tetradic
#302BC0 #C02B71 #BBC02B #2BC07A
square
#302BC0 #C02B71 #BBC02B #2BC07A
split-complementary
#302BC0 #C07A2B #71C02B
monochromatic
#17155C #23208E #302BC0 #5550D8 #8682E3

Accessibility & contrast

On white

9.41
#302BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#302BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BC0
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BC0#FFFFFF#000000##FFFFFF
##302BC01.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003FBD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #302bc0;
/* rgb */ color: rgb(48, 43, 192);
/* oklch */ color: oklch(41.7% 0.220 272.9);
Tailwind
colors: {
  custom: {
    50: '#8067d4',
    500: '#302bc0',
    950: '#000000',
  },
}
SCSS
$custom: #302bc0;
$custom-light: #8067d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302bc0",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 242.013,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.21951,
    "h": 272.9
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#302BC0
secondary
#C9CC7B
accent
#E641E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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