#302C84#302C84

#302C84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.142 H 278.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#302C84
RGBrgb(48, 44, 132)
HSLhsl(243, 50%, 35%)
HSVhsv(243, 67%, 52%)
CMYKcmyk(63.6%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.98, 29.83, -48.93)
CIE-LCHlch(23.98, 57.30, 301.37°)
OKLaboklab(35.71% 0.0208 -0.1409)
OKLCHoklch(35.71% 0.142 278.4)
XYZxyz(6.2831, 4.0952, 22.2847)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C84 #80842C
analogous
#2C5484 #302C84 #5C2C84
triadic
#302C84 #84302C #2C8430
tetradic
#302C84 #842C54 #80842C #2C845C
square
#302C84 #842C54 #80842C #2C845C
split-complementary
#302C84 #845C2C #54842C
monochromatic
#0F0D28 #1F1D56 #302C84 #413BB2 #6560CA

Accessibility & contrast

On white

11.54
#302C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#302C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C84
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C84#FFFFFF#000000##FFFFFF
##302C841.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302c84;
/* rgb */ color: rgb(48, 44, 132);
/* oklch */ color: oklch(35.7% 0.142 278.4);
Tailwind
colors: {
  custom: {
    50: '#7365a9',
    500: '#302c84',
    950: '#000000',
  },
}
SCSS
$custom: #302c84;
$custom-light: #7365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302c84",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 242.727,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.14245,
    "h": 278.4
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#302C84
secondary
#ACB05C
accent
#DA4ED3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302C84

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

Preview Lab → · Contrast checker → · Palette generator →

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