#30239C#30239C

#30239C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.184 H 277.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#30239C
RGBrgb(48, 35, 156)
HSLhsl(246, 63%, 37%)
HSVhsv(246, 78%, 61%)
CMYKcmyk(69.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(24.42, 43.24, -63.08)
CIE-LCHlch(24.42, 76.48, 304.43°)
OKLaboklab(36.74% 0.0229 -0.1823)
OKLCHoklch(36.74% 0.184 277.1)
XYZxyz(7.8188, 4.2300, 31.8505)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239C #8F9C23
analogous
#23539C #30239C #6C239C
triadic
#30239C #9C3023 #239C30
tetradic
#30239C #9C2353 #8F9C23 #239C6C
square
#30239C #9C2353 #8F9C23 #239C6C
split-complementary
#30239C #9C6C23 #539C23
monochromatic
#110D38 #21186A #30239C #3F2ECE #6C5EDB

Accessibility & contrast

On white

11.37
#30239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#30239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239C
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239C#FFFFFF#000000##FFFFFF
##30239C1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30239c;
/* rgb */ color: rgb(48, 35, 156);
/* oklch */ color: oklch(36.7% 0.184 277.1);
Tailwind
colors: {
  custom: {
    50: '#7961ba',
    500: '#30239c',
    950: '#000000',
  },
}
SCSS
$custom: #30239c;
$custom-light: #7961ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30239c",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 246.446,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.1837,
    "h": 277.1
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#30239C
secondary
#B5C05B
accent
#E641D5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30239C

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

Preview Lab → · Contrast checker → · Palette generator →

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