#302D92#302D92

#302D92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.160 H 276.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#302D92
RGBrgb(48, 45, 146)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 69%, 57%)
CMYKcmyk(67.1%, 69.2%, 0%, 42.7%)
CIE-LABlab(25.50, 34.07, -55.15)
CIE-LCHlch(25.50, 64.82, 301.71°)
OKLaboklab(37.21% 0.0183 -0.1592)
OKLCHoklch(37.21% 0.16 276.6)
XYZxyz(7.3439, 4.5798, 27.6855)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D92 #8F922D
analogous
#2D5D92 #302D92 #622D92
triadic
#302D92 #92302D #2D9230
tetradic
#302D92 #922D5D #8F922D #2D9262
square
#302D92 #922D5D #8F922D #2D9262
split-complementary
#302D92 #92622D #5D922D
monochromatic
#111034 #211F63 #302D92 #3F3BC1 #6C69D1

Accessibility & contrast

On white

10.96
#302D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#302D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D92
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D92#FFFFFF#000000##FFFFFF
##302D921.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302d92;
/* rgb */ color: rgb(48, 45, 146);
/* oklch */ color: oklch(37.2% 0.160 276.6);
Tailwind
colors: {
  custom: {
    50: '#7667b3',
    500: '#302d92',
    950: '#000000',
  },
}
SCSS
$custom: #302d92;
$custom-light: #7667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302d92",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 241.782,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.16022,
    "h": 276.6
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#302D92
secondary
#B5B763
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302D92

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

Preview Lab → · Contrast checker → · Palette generator →

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