#30299A#30299A

#30299A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.175 H 276.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#30299A
RGBrgb(48, 41, 154)
HSLhsl(244, 58%, 38%)
HSVhsv(244, 73%, 60%)
CMYKcmyk(68.8%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.40, 39.22, -60.23)
CIE-LCHlch(25.40, 71.87, 303.07°)
OKLaboklab(37.37% 0.0198 -0.174)
OKLCHoklch(37.37% 0.175 276.5)
XYZxyz(7.8427, 4.5467, 31.0299)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30299A #939A29
analogous
#295A9A #30299A #68299A
triadic
#30299A #9A3029 #299A30
tetradic
#30299A #9A295A #939A29 #299A68
square
#30299A #9A295A #939A29 #299A68
split-complementary
#30299A #9A6829 #5A9A29
monochromatic
#120F39 #211C6A #30299A #4037CA #6E67D7

Accessibility & contrast

On white

11.00
#30299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#30299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30299A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30299A#FFFFFF#000000##FFFFFF
##30299A1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30299a;
/* rgb */ color: rgb(48, 41, 154);
/* oklch */ color: oklch(37.4% 0.175 276.5);
Tailwind
colors: {
  custom: {
    50: '#7864b9',
    500: '#30299a',
    950: '#000000',
  },
}
SCSS
$custom: #30299a;
$custom-light: #7864b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30299a",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 243.717,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3737,
    "c": 0.17514,
    "h": 276.5
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#30299A
secondary
#B7BD62
accent
#E147D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30299A

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

Preview Lab → · Contrast checker → · Palette generator →

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