#302B73#302B73

#302B73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.120 H 281.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#302B73
RGBrgb(48, 43, 115)
HSLhsl(244, 46%, 31%)
HSVhsv(244, 63%, 45%)
CMYKcmyk(58.3%, 62.6%, 0%, 54.9%)
CIE-LABlab(22.28, 24.53, -40.92)
CIE-LCHlch(22.28, 47.71, 300.94°)
OKLaboklab(34.01% 0.023 -0.1174)
OKLCHoklch(34.01% 0.12 281.1)
XYZxyz(5.1764, 3.5936, 16.6372)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B73 #6E732B
analogous
#2B4A73 #302B73 #542B73
triadic
#302B73 #73302B #2B7330
tetradic
#302B73 #732B4A #6E732B #2B7354
square
#302B73 #732B4A #6E732B #2B7354
split-complementary
#302B73 #73542B #4A732B
monochromatic
#0B0A1A #1D1A46 #302B73 #433CA0 #5F58C1

Accessibility & contrast

On white

12.22
#302B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#302B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B73
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B73#FFFFFF#000000##FFFFFF
##302B731.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302b73;
/* rgb */ color: rgb(48, 43, 115);
/* oklch */ color: oklch(34.0% 0.120 281.1);
Tailwind
colors: {
  custom: {
    50: '#6f649c',
    500: '#302b73',
    950: '#000000',
  },
}
SCSS
$custom: #302b73;
$custom-light: #6f649c;
$custom-dark: #000000;
JSON
{
  "hex": "#302b73",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 244.167,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.11965,
    "h": 281.1
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#302B73
secondary
#9FA555
accent
#D553CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #302B73

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

Preview Lab → · Contrast checker → · Palette generator →

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