#30299B#30299B

#30299B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.176 H 276.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#30299B
RGBrgb(48, 41, 155)
HSLhsl(244, 58%, 38%)
HSVhsv(244, 74%, 61%)
CMYKcmyk(69%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.50, 39.55, -60.68)
CIE-LCHlch(25.50, 72.43, 303.10°)
OKLaboklab(37.47% 0.0196 -0.1753)
OKLCHoklch(37.47% 0.176 276.4)
XYZxyz(7.9263, 4.5801, 31.4703)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30299B #949B29
analogous
#295B9B #30299B #69299B
triadic
#30299B #9B3029 #299B30
tetradic
#30299B #9B295B #949B29 #299B69
square
#30299B #9B295B #949B29 #299B69
split-complementary
#30299B #9B6929 #5B9B29
monochromatic
#120F3A #211C6B #30299B #4037CA #6E67D7

Accessibility & contrast

On white

10.96
#30299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#30299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30299B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30299B#FFFFFF#000000##FFFFFF
##30299B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #30299b;
/* rgb */ color: rgb(48, 41, 155);
/* oklch */ color: oklch(37.5% 0.176 276.4);
Tailwind
colors: {
  custom: {
    50: '#7864ba',
    500: '#30299b',
    950: '#000000',
  },
}
SCSS
$custom: #30299b;
$custom-light: #7864ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30299b",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 243.684,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37473,
    "c": 0.17641,
    "h": 276.4
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#30299B
secondary
#B8BD63
accent
#E146D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30299B

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

Preview Lab → · Contrast checker → · Palette generator →

#30299B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva