#302CBF#302CBF

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

Color values

HEX#302CBF
RGBrgb(48, 44, 191)
HSLhsl(242, 63%, 46%)
HSVhsv(242, 77%, 75%)
CMYKcmyk(74.9%, 77%, 0%, 25.1%)
CIE-LABlab(29.89, 49.66, -75.05)
CIE-LCHlch(29.89, 89.99, 303.49°)
OKLaboklab(41.7% 0.0108 -0.2172)
OKLCHoklch(41.7% 0.217 272.9)
XYZxyz(11.5204, 6.1901, 49.8678)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CBF #BBBF2C
analogous
#2C71BF #302CBF #792CBF
triadic
#302CBF #BF302C #2CBF30
tetradic
#302CBF #BF2C71 #BBBF2C #2CBF79
square
#302CBF #BF2C71 #BBBF2C #2CBF79
split-complementary
#302CBF #BF792C #71BF2C
monochromatic
#17155C #23218D #302CBF #5551D7 #8683E2

Accessibility & contrast

On white

9.38
#302CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#302CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CBF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CBF#FFFFFF#000000##FFFFFF
##302CBF1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302cbf;
/* rgb */ color: rgb(48, 44, 191);
/* oklch */ color: oklch(41.7% 0.217 272.9);
Tailwind
colors: {
  custom: {
    50: '#8068d4',
    500: '#302cbf',
    950: '#000000',
  },
}
SCSS
$custom: #302cbf;
$custom-light: #8068d4;
$custom-dark: #000000;
JSON
{
  "hex": "#302cbf",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 241.633,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.21745,
    "h": 272.9
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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