#302CC0#302CC0

#302CC0 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.219 H 272.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#302CC0
RGBrgb(48, 44, 192)
HSLhsl(242, 63%, 46%)
HSVhsv(242, 77%, 75%)
CMYKcmyk(75%, 77.1%, 0%, 24.7%)
CIE-LABlab(30.00, 49.97, -75.46)
CIE-LCHlch(30.00, 90.51, 303.52°)
OKLaboklab(41.81% 0.0106 -0.2184)
OKLCHoklch(41.81% 0.219 272.8)
XYZxyz(11.6308, 6.2343, 50.4493)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CC0 #BCC02C
analogous
#2C72C0 #302CC0 #7A2CC0
triadic
#302CC0 #C0302C #2CC030
tetradic
#302CC0 #C02C72 #BCC02C #2CC07A
square
#302CC0 #C02C72 #BCC02C #2CC07A
split-complementary
#302CC0 #C07A2C #72C02C
monochromatic
#17155C #24218E #302CC0 #5552D7 #8684E3

Accessibility & contrast

On white

9.34
#302CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#302CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CC0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CC0#FFFFFF#000000##FFFFFF
##302CC01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#003FBD
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #302cc0;
/* rgb */ color: rgb(48, 44, 192);
/* oklch */ color: oklch(41.8% 0.219 272.8);
Tailwind
colors: {
  custom: {
    50: '#8068d4',
    500: '#302cc0',
    950: '#000000',
  },
}
SCSS
$custom: #302cc0;
$custom-light: #8068d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302cc0",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 241.622,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4181,
    "c": 0.21863,
    "h": 272.8
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#302CC0
secondary
#CACC7C
accent
#E642E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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