#302B79#302B79

#302B79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.128 H 280.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#302B79
RGBrgb(48, 43, 121)
HSLhsl(244, 48%, 32%)
HSVhsv(244, 64%, 47%)
CMYKcmyk(60.3%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.78, 26.63, -43.94)
CIE-LCHlch(22.78, 51.38, 301.21°)
OKLaboklab(34.53% 0.0226 -0.1263)
OKLCHoklch(34.53% 0.128 280.2)
XYZxyz(5.5329, 3.7362, 18.5151)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B79 #74792B
analogous
#2B4D79 #302B79 #572B79
triadic
#302B79 #79302B #2B7930
tetradic
#302B79 #792B4D #74792B #2B7957
square
#302B79 #792B4D #74792B #2B7957
split-complementary
#302B79 #79572B #4D792B
monochromatic
#0C0B1F #1E1B4C #302B79 #423BA6 #615AC4

Accessibility & contrast

On white

12.02
#302B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302B79
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B79#FFFFFF#000000##FFFFFF
##302B791.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#043E4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302b79;
/* rgb */ color: rgb(48, 43, 121);
/* oklch */ color: oklch(34.5% 0.128 280.2);
Tailwind
colors: {
  custom: {
    50: '#7064a0',
    500: '#302b79',
    950: '#000000',
  },
}
SCSS
$custom: #302b79;
$custom-light: #7064a0;
$custom-dark: #000000;
JSON
{
  "hex": "#302b79",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 243.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.12831,
    "h": 280.2
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#302B79
secondary
#A5AA56
accent
#D751CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #302B79

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

Preview Lab → · Contrast checker → · Palette generator →

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