#302CB1#302CB1

#302CB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.201 H 273.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#302CB1
RGBrgb(48, 44, 177)
HSLhsl(242, 60%, 43%)
HSVhsv(242, 75%, 69%)
CMYKcmyk(72.9%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.39, 45.13, -69.22)
CIE-LCHlch(28.39, 82.63, 303.10°)
OKLaboklab(40.2% 0.0137 -0.2002)
OKLCHoklch(40.2% 0.201 273.9)
XYZxyz(10.0528, 5.6031, 42.1382)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CB1 #ADB12C
analogous
#2C6AB1 #302CB1 #732CB1
triadic
#302CB1 #B1302C #2CB130
tetradic
#302CB1 #B12C6A #ADB12C #2CB173
square
#302CB1 #B12C6A #ADB12C #2CB173
split-complementary
#302CB1 #B1732C #6AB12C
monochromatic
#15144F #232080 #302CB1 #4D49D2 #7D7ADE

Accessibility & contrast

On white

9.90
#302CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#302CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CB1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CB1#FFFFFF#000000##FFFFFF
##302CB11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #302cb1;
/* rgb */ color: rgb(48, 44, 177);
/* oklch */ color: oklch(40.2% 0.201 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d67ca',
    500: '#302cb1',
    950: '#000000',
  },
}
SCSS
$custom: #302cb1;
$custom-light: #7d67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#302cb1",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 241.805,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.20069,
    "h": 273.9
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#302CB1
secondary
#C3C673
accent
#E344DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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