#302C73#302C73

#302C73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.118 H 280.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#302C73
RGBrgb(48, 44, 115)
HSLhsl(243, 45%, 31%)
HSVhsv(243, 62%, 45%)
CMYKcmyk(58.3%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.54, 23.86, -40.50)
CIE-LCHlch(22.54, 47.01, 300.50°)
OKLaboklab(34.2% 0.0219 -0.1162)
OKLCHoklch(34.2% 0.118 280.7)
XYZxyz(5.2132, 3.6672, 16.6495)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C73 #6F732C
analogous
#2C4B73 #302C73 #532C73
triadic
#302C73 #73302C #2C7330
tetradic
#302C73 #732C4B #6F732C #2C7353
square
#302C73 #732C4B #6F732C #2C7353
split-complementary
#302C73 #73532C #4B732C
monochromatic
#0B0A1A #1E1B47 #302C73 #423D9F #5F5AC0

Accessibility & contrast

On white

12.11
#302C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#302C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C73
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C73#FFFFFF#000000##FFFFFF
##302C731.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302c73;
/* rgb */ color: rgb(48, 44, 115);
/* oklch */ color: oklch(34.2% 0.118 280.7);
Tailwind
colors: {
  custom: {
    50: '#6f659c',
    500: '#302c73',
    950: '#000000',
  },
}
SCSS
$custom: #302c73;
$custom-light: #6f659c;
$custom-dark: #000000;
JSON
{
  "hex": "#302c73",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 243.38,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34199,
    "c": 0.11822,
    "h": 280.7
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#302C73
secondary
#A0A556
accent
#D453CD
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #302C73

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

Preview Lab → · Contrast checker → · Palette generator →

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