#302CBB#302CBB

#302CBB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.213 H 273.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#302CBB
RGBrgb(48, 44, 187)
HSLhsl(242, 62%, 45%)
HSVhsv(242, 76%, 73%)
CMYKcmyk(74.3%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.45, 48.37, -73.40)
CIE-LCHlch(29.45, 87.91, 303.39°)
OKLaboklab(41.27% 0.0116 -0.2124)
OKLCHoklch(41.27% 0.213 273.1)
XYZxyz(11.0862, 6.0165, 47.5811)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CBB #B7BB2C
analogous
#2C70BB #302CBB #772CBB
triadic
#302CBB #BB302C #2CBB30
tetradic
#302CBB #BB2C70 #B7BB2C #2CBB77
square
#302CBB #BB2C70 #B7BB2C #2CBB77
split-complementary
#302CBB #BB772C #70BB2C
monochromatic
#171558 #232089 #302CBB #524FD6 #8380E1

Accessibility & contrast

On white

9.53
#302CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#302CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CBB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CBB#FFFFFF#000000##FFFFFF
##302CBB1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #302cbb;
/* rgb */ color: rgb(48, 44, 187);
/* oklch */ color: oklch(41.3% 0.213 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f68d1',
    500: '#302cbb',
    950: '#000000',
  },
}
SCSS
$custom: #302cbb;
$custom-light: #7f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#302cbb",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 241.678,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.21272,
    "h": 273.1
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#302CBB
secondary
#C8CA79
accent
#E543E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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