#302379#302379

#302379 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.139 H 282.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#302379
RGBrgb(48, 35, 121)
HSLhsl(249, 55%, 31%)
HSVhsv(249, 71%, 47%)
CMYKcmyk(60.3%, 71.1%, 0%, 52.5%)
CIE-LABlab(20.87, 31.75, -47.06)
CIE-LCHlch(20.87, 56.77, 304.00°)
OKLaboklab(33.15% 0.0304 -0.1355)
OKLCHoklch(33.15% 0.139 282.6)
XYZxyz(5.2701, 3.2106, 18.4274)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302379 #6C7923
analogous
#234179 #302379 #5B2379
triadic
#302379 #793023 #237930
tetradic
#302379 #792341 #6C7923 #23795B
square
#302379 #792341 #6C7923 #23795B
split-complementary
#302379 #795B23 #417923
monochromatic
#0A081A #1D154A #302379 #4331A8 #5F4BCB

Accessibility & contrast

On white

12.79
#302379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#302379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302379
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302379#FFFFFF#000000##FFFFFF
##3023791.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#05394B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302379;
/* rgb */ color: rgb(48, 35, 121);
/* oklch */ color: oklch(33.1% 0.139 282.6);
Tailwind
colors: {
  custom: {
    50: '#715fa1',
    500: '#302379',
    950: '#000000',
  },
}
SCSS
$custom: #302379;
$custom-light: #715fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#302379",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 249.07,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33145,
    "c": 0.13884,
    "h": 282.6
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#302379
secondary
#9DAC4C
accent
#DE49C8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #302379

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

Preview Lab → · Contrast checker → · Palette generator →

#302379 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva