#30247A#30247A

#30247A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.139 H 282.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#30247A
RGBrgb(48, 36, 122)
HSLhsl(248, 54%, 31%)
HSVhsv(248, 70%, 48%)
CMYKcmyk(60.7%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.19, 31.46, -47.18)
CIE-LCHlch(21.19, 56.71, 303.70°)
OKLaboklab(33.4% 0.0293 -0.1358)
OKLCHoklch(33.4% 0.139 282.2)
XYZxyz(5.3616, 3.2949, 18.7620)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30247A #6E7A24
analogous
#24437A #30247A #5B247A
triadic
#30247A #7A3024 #247A30
tetradic
#30247A #7A2443 #6E7A24 #247A5B
square
#30247A #7A2443 #6E7A24 #247A5B
split-complementary
#30247A #7A5B24 #437A24
monochromatic
#0B081B #1D164B #30247A #4332A9 #5F4ECB

Accessibility & contrast

On white

12.66
#30247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#30247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30247A
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30247A#FFFFFF#000000##FFFFFF
##30247A1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#033A4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30247a;
/* rgb */ color: rgb(48, 36, 122);
/* oklch */ color: oklch(33.4% 0.139 282.2);
Tailwind
colors: {
  custom: {
    50: '#7160a1',
    500: '#30247a',
    950: '#000000',
  },
}
SCSS
$custom: #30247a;
$custom-light: #7160a1;
$custom-dark: #000000;
JSON
{
  "hex": "#30247a",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 248.372,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.13893,
    "h": 282.2
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#30247A
secondary
#9FAC4D
accent
#DE4AC9
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #30247A

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

Preview Lab → · Contrast checker → · Palette generator →

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