#30239A#30239A

#30239A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.181 H 277.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#30239A
RGBrgb(48, 35, 154)
HSLhsl(247, 63%, 37%)
HSVhsv(247, 77%, 60%)
CMYKcmyk(68.8%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.20, 42.60, -62.21)
CIE-LCHlch(24.20, 75.40, 304.40°)
OKLaboklab(36.52% 0.0233 -0.1797)
OKLCHoklch(36.52% 0.181 277.4)
XYZxyz(7.6508, 4.1629, 30.9659)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239A #8D9A23
analogous
#23519A #30239A #6C239A
triadic
#30239A #9A3023 #239A30
tetradic
#30239A #9A2351 #8D9A23 #239A6C
square
#30239A #9A2351 #8D9A23 #239A6C
split-complementary
#30239A #9A6C23 #519A23
monochromatic
#110C36 #201868 #30239A #402ECC #6B5DDA

Accessibility & contrast

On white

11.46
#30239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239A
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239A#FFFFFF#000000##FFFFFF
##30239A1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30239a;
/* rgb */ color: rgb(48, 35, 154);
/* oklch */ color: oklch(36.5% 0.181 277.4);
Tailwind
colors: {
  custom: {
    50: '#7861b9',
    500: '#30239a',
    950: '#000000',
  },
}
SCSS
$custom: #30239a;
$custom-light: #7861b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30239a",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 246.555,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36521,
    "c": 0.18125,
    "h": 277.4
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#30239A
secondary
#B4BF5A
accent
#E642D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30239A

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

Preview Lab → · Contrast checker → · Palette generator →

#30239A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva