#302C92#302C92

#302C92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.161 H 276.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#302C92
RGBrgb(48, 44, 146)
HSLhsl(242, 54%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(67.1%, 69.9%, 0%, 42.7%)
CIE-LABlab(25.27, 34.69, -55.52)
CIE-LCHlch(25.27, 65.47, 302.00°)
OKLaboklab(37.04% 0.019 -0.1603)
OKLCHoklch(37.04% 0.161 276.8)
XYZxyz(7.3062, 4.5044, 27.6730)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C92 #8E922C
analogous
#2C5B92 #302C92 #632C92
triadic
#302C92 #92302C #2C9230
tetradic
#302C92 #922C5B #8E922C #2C9263
square
#302C92 #922C5B #8E922C #2C9263
split-complementary
#302C92 #92632C #5B922C
monochromatic
#111034 #211E63 #302C92 #3F3AC1 #6B67D1

Accessibility & contrast

On white

11.05
#302C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#302C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C92
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C92#FFFFFF#000000##FFFFFF
##302C921.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302c92;
/* rgb */ color: rgb(48, 44, 146);
/* oklch */ color: oklch(37.0% 0.161 276.8);
Tailwind
colors: {
  custom: {
    50: '#7666b3',
    500: '#302c92',
    950: '#000000',
  },
}
SCSS
$custom: #302c92;
$custom-light: #7666b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302c92",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 242.353,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.1614,
    "h": 276.8
  },
  "luminance": 0.04505
}

Semantic roles & 50–950 ramp

primary
#302C92
secondary
#B4B862
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302C92

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

Preview Lab → · Contrast checker → · Palette generator →

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