#302CA9#302CA9

#302CA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.191 H 274.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#302CA9
RGBrgb(48, 44, 169)
HSLhsl(242, 59%, 42%)
HSVhsv(242, 74%, 66%)
CMYKcmyk(71.6%, 74%, 0%, 33.7%)
CIE-LABlab(27.55, 42.49, -65.79)
CIE-LCHlch(27.55, 78.32, 302.85°)
OKLaboklab(39.36% 0.0152 -0.1902)
OKLCHoklch(39.36% 0.191 274.6)
XYZxyz(9.2787, 5.2934, 38.0612)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CA9 #A5A92C
analogous
#2C67A9 #302CA9 #6F2CA9
triadic
#302CA9 #A9302C #2CA930
tetradic
#302CA9 #A92C67 #A5A92C #2CA96F
square
#302CA9 #A92C67 #A5A92C #2CA96F
split-complementary
#302CA9 #A96F2C #67A92C
monochromatic
#141348 #221F78 #302CA9 #4844CE #7874DB

Accessibility & contrast

On white

10.20
#302CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#302CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CA9
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CA9#FFFFFF#000000##FFFFFF
##302CA91.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #302ca9;
/* rgb */ color: rgb(48, 44, 169);
/* oklch */ color: oklch(39.4% 0.191 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b67c4',
    500: '#302ca9',
    950: '#000000',
  },
}
SCSS
$custom: #302ca9;
$custom-light: #7b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#302ca9",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 241.92,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.19085,
    "h": 274.6
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#302CA9
secondary
#C0C36E
accent
#E246DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #302CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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