#302CBD#302CBD

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

Color values

HEX#302CBD
RGBrgb(48, 44, 189)
HSLhsl(242, 62%, 46%)
HSVhsv(242, 77%, 74%)
CMYKcmyk(74.6%, 76.7%, 0%, 25.9%)
CIE-LABlab(29.67, 49.02, -74.23)
CIE-LCHlch(29.67, 88.95, 303.44°)
OKLaboklab(41.49% 0.0112 -0.2148)
OKLCHoklch(41.49% 0.215 273)
XYZxyz(11.3018, 6.1027, 48.7166)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CBD #B9BD2C
analogous
#2C70BD #302CBD #782CBD
triadic
#302CBD #BD302C #2CBD30
tetradic
#302CBD #BD2C70 #B9BD2C #2CBD78
square
#302CBD #BD2C70 #B9BD2C #2CBD78
split-complementary
#302CBD #BD782C #70BD2C
monochromatic
#17155A #23208B #302CBD #5450D6 #8482E2

Accessibility & contrast

On white

9.46
#302CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302CBD
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CBD#FFFFFF#000000##FFFFFF
##302CBD1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #302cbd;
/* rgb */ color: rgb(48, 44, 189);
/* oklch */ color: oklch(41.5% 0.215 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f68d2',
    500: '#302cbd',
    950: '#000000',
  },
}
SCSS
$custom: #302cbd;
$custom-light: #7f68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#302cbd",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 241.655,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41485,
    "c": 0.21508,
    "h": 273
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#302CBD
secondary
#C9CB7A
accent
#E542E1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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