#302D73#302D73

#302D73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.4% C 0.117 H 280.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#302D73
RGBrgb(48, 45, 115)
HSLhsl(243, 44%, 31%)
HSVhsv(243, 61%, 45%)
CMYKcmyk(58.3%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.80, 23.18, -40.08)
CIE-LCHlch(22.80, 46.30, 300.05°)
OKLaboklab(34.39% 0.0207 -0.1149)
OKLCHoklch(34.39% 0.117 280.2)
XYZxyz(5.2509, 3.7426, 16.6620)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D73 #70732D
analogous
#2D4D73 #302D73 #532D73
triadic
#302D73 #73302D #2D7330
tetradic
#302D73 #732D4D #70732D #2D7353
square
#302D73 #732D4D #70732D #2D7353
split-complementary
#302D73 #73532D #4D732D
monochromatic
#0B0B1B #1E1C47 #302D73 #423E9F #605BBF

Accessibility & contrast

On white

12.01
#302D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#302D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D73
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D73#FFFFFF#000000##FFFFFF
##302D731.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302d73;
/* rgb */ color: rgb(48, 45, 115);
/* oklch */ color: oklch(34.4% 0.117 280.2);
Tailwind
colors: {
  custom: {
    50: '#6f669c',
    500: '#302d73',
    950: '#000000',
  },
}
SCSS
$custom: #302d73;
$custom-light: #6f669c;
$custom-dark: #000000;
JSON
{
  "hex": "#302d73",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 242.571,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34393,
    "c": 0.11678,
    "h": 280.2
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#302D73
secondary
#A1A457
accent
#D354CE
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #302D73

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

Preview Lab → · Contrast checker → · Palette generator →

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