#302C79#302C79

#302C79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.127 H 279.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#302C79
RGBrgb(48, 44, 121)
HSLhsl(243, 47%, 32%)
HSVhsv(243, 64%, 47%)
CMYKcmyk(60.3%, 63.6%, 0%, 52.5%)
CIE-LABlab(23.03, 25.97, -43.53)
CIE-LCHlch(23.03, 50.69, 300.82°)
OKLaboklab(34.72% 0.0216 -0.1251)
OKLCHoklch(34.72% 0.127 279.8)
XYZxyz(5.5697, 3.8098, 18.5273)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C79 #75792C
analogous
#2C4E79 #302C79 #572C79
triadic
#302C79 #79302C #2C7930
tetradic
#302C79 #792C4E #75792C #2C7957
square
#302C79 #792C4E #75792C #2C7957
split-complementary
#302C79 #79572C #4E792C
monochromatic
#0C0B1F #1E1C4C #302C79 #423CA6 #615CC4

Accessibility & contrast

On white

11.92
#302C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#302C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C79
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C79#FFFFFF#000000##FFFFFF
##302C791.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#033F4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302c79;
/* rgb */ color: rgb(48, 44, 121);
/* oklch */ color: oklch(34.7% 0.127 279.8);
Tailwind
colors: {
  custom: {
    50: '#7065a0',
    500: '#302c79',
    950: '#000000',
  },
}
SCSS
$custom: #302c79;
$custom-light: #7065a0;
$custom-dark: #000000;
JSON
{
  "hex": "#302c79",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 243.117,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.12693,
    "h": 279.8
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#302C79
secondary
#A5AA57
accent
#D651CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #302C79

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

Preview Lab → · Contrast checker → · Palette generator →

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