#302AC0#302AC0

#302AC0 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.220 H 273.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#302AC0
RGBrgb(48, 42, 192)
HSLhsl(242, 64%, 46%)
HSVhsv(242, 78%, 75%)
CMYKcmyk(75%, 78.1%, 0%, 24.7%)
CIE-LABlab(29.64, 51.01, -76.05)
CIE-LCHlch(29.64, 91.58, 303.85°)
OKLaboklab(41.56% 0.0114 -0.2201)
OKLCHoklch(41.56% 0.22 273)
XYZxyz(11.5581, 6.0889, 50.4251)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302AC0 #BAC02A
analogous
#2A6FC0 #302AC0 #7B2AC0
triadic
#302AC0 #C0302A #2AC030
tetradic
#302AC0 #C02A6F #BAC02A #2AC07B
square
#302AC0 #C02A6F #BAC02A #2AC07B
split-complementary
#302AC0 #C07B2A #6FC02A
monochromatic
#17145C #231F8E #302AC0 #544FD8 #8581E3

Accessibility & contrast

On white

9.47
#302AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#302AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302AC0
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302AC0#FFFFFF#000000##FFFFFF
##302AC01.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302ac0;
/* rgb */ color: rgb(48, 42, 192);
/* oklch */ color: oklch(41.6% 0.220 273.0);
Tailwind
colors: {
  custom: {
    50: '#8067d4',
    500: '#302ac0',
    950: '#000000',
  },
}
SCSS
$custom: #302ac0;
$custom-light: #8067d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302ac0",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 242.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.22037,
    "h": 273
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#302AC0
secondary
#C9CC7A
accent
#E741E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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