#30239E#30239E

#30239E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.186 H 276.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#30239E
RGBrgb(48, 35, 158)
HSLhsl(246, 64%, 38%)
HSVhsv(246, 78%, 62%)
CMYKcmyk(69.6%, 77.8%, 0%, 38%)
CIE-LABlab(24.63, 43.88, -63.94)
CIE-LCHlch(24.63, 77.55, 304.46°)
OKLaboklab(36.95% 0.0224 -0.1848)
OKLCHoklch(36.95% 0.186 276.9)
XYZxyz(7.9895, 4.2983, 32.7497)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30239E #919E23
analogous
#23549E #30239E #6D239E
triadic
#30239E #9E3023 #239E30
tetradic
#30239E #9E2354 #919E23 #239E6D
square
#30239E #9E2354 #919E23 #239E6D
split-complementary
#30239E #9E6D23 #549E23
monochromatic
#120D3A #21186C #30239E #3F2ED0 #6D60DC

Accessibility & contrast

On white

11.29
#30239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30239E
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30239E#FFFFFF#000000##FFFFFF
##30239E1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30239e;
/* rgb */ color: rgb(48, 35, 158);
/* oklch */ color: oklch(37.0% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#7961bc',
    500: '#30239e',
    950: '#000000',
  },
}
SCSS
$custom: #30239e;
$custom-light: #7961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30239e",
  "rgb": {
    "r": 48,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 246.341,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36952,
    "c": 0.18614,
    "h": 276.9
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#30239E
secondary
#B6C15C
accent
#E741D5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30239E

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

Preview Lab → · Contrast checker → · Palette generator →

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