#302A73#302A73

#302A73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.121 H 281.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#302A73
RGBrgb(48, 42, 115)
HSLhsl(245, 46%, 31%)
HSVhsv(245, 63%, 45%)
CMYKcmyk(58.3%, 63.5%, 0%, 54.9%)
CIE-LABlab(22.02, 25.19, -41.34)
CIE-LCHlch(22.02, 48.41, 301.36°)
OKLaboklab(33.82% 0.024 -0.1187)
OKLCHoklch(33.82% 0.121 281.5)
XYZxyz(5.1404, 3.5218, 16.6252)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A73 #6D732A
analogous
#2A4873 #302A73 #542A73
triadic
#302A73 #73302A #2A7330
tetradic
#302A73 #732A48 #6D732A #2A7354
square
#302A73 #732A48 #6D732A #2A7354
split-complementary
#302A73 #73542A #48732A
monochromatic
#0B0919 #1D1A46 #302A73 #433AA0 #5F56C1

Accessibility & contrast

On white

12.32
#302A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#302A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A73
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A73#FFFFFF#000000##FFFFFF
##302A731.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#0F3C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #302a73;
/* rgb */ color: rgb(48, 42, 115);
/* oklch */ color: oklch(33.8% 0.121 281.5);
Tailwind
colors: {
  custom: {
    50: '#6f649c',
    500: '#302a73',
    950: '#000000',
  },
}
SCSS
$custom: #302a73;
$custom-light: #6f649c;
$custom-dark: #000000;
JSON
{
  "hex": "#302a73",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 244.932,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.12107,
    "h": 281.5
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#302A73
secondary
#9EA554
accent
#D652CB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #302A73

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

Preview Lab → · Contrast checker → · Palette generator →

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