#302473#302473

#302473 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.129 H 283.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#302473
RGBrgb(48, 36, 115)
HSLhsl(249, 52%, 30%)
HSVhsv(249, 69%, 45%)
CMYKcmyk(58.3%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.55, 29.10, -43.74)
CIE-LCHlch(20.55, 52.54, 303.64°)
OKLaboklab(32.74% 0.0303 -0.1257)
OKLCHoklch(32.74% 0.129 283.6)
XYZxyz(4.9434, 3.1276, 16.5595)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302473 #677324
analogous
#244073 #302473 #582473
triadic
#302473 #733024 #247330
tetradic
#302473 #732440 #677324 #247358
square
#302473 #732440 #677324 #247358
split-complementary
#302473 #735824 #407324
monochromatic
#0A0717 #1D1544 #302473 #4333A2 #5E4BC7

Accessibility & contrast

On white

12.92
#302473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#302473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302473
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302473#FFFFFF#000000##FFFFFF
##3024731.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#103848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #302473;
/* rgb */ color: rgb(48, 36, 115);
/* oklch */ color: oklch(32.7% 0.129 283.6);
Tailwind
colors: {
  custom: {
    50: '#705f9c',
    500: '#302473',
    950: '#000000',
  },
}
SCSS
$custom: #302473;
$custom-light: #705f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#302473",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 249.114,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.12934,
    "h": 283.6
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#302473
secondary
#98A64D
accent
#DC4CC6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #302473

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

Preview Lab → · Contrast checker → · Palette generator →

#302473 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva