#302ABF#302ABF

#302ABF is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.219 H 273.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#302ABF
RGBrgb(48, 42, 191)
HSLhsl(242, 64%, 46%)
HSVhsv(242, 78%, 75%)
CMYKcmyk(74.9%, 78%, 0%, 25.1%)
CIE-LABlab(29.52, 50.70, -75.65)
CIE-LCHlch(29.52, 91.06, 303.83°)
OKLaboklab(41.45% 0.0116 -0.2189)
OKLCHoklch(41.45% 0.219 273)
XYZxyz(11.4477, 6.0447, 49.8435)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302ABF #B9BF2A
analogous
#2A6EBF #302ABF #7A2ABF
triadic
#302ABF #BF302A #2ABF30
tetradic
#302ABF #BF2A6E #B9BF2A #2ABF7A
square
#302ABF #BF2A6E #B9BF2A #2ABF7A
split-complementary
#302ABF #BF7A2A #6EBF2A
monochromatic
#17145B #231F8D #302ABF #544ED8 #8480E3

Accessibility & contrast

On white

9.51
#302ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#302ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302ABF
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302ABF#FFFFFF#000000##FFFFFF
##302ABF1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#003EBC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #302abf;
/* rgb */ color: rgb(48, 42, 191);
/* oklch */ color: oklch(41.4% 0.219 273.0);
Tailwind
colors: {
  custom: {
    50: '#8067d4',
    500: '#302abf',
    950: '#000000',
  },
}
SCSS
$custom: #302abf;
$custom-light: #8067d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302abf",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 242.416,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.21921,
    "h": 273
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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