#30299F#30299F

#30299F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.181 H 275.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#30299F
RGBrgb(48, 41, 159)
HSLhsl(244, 59%, 39%)
HSVhsv(244, 74%, 62%)
CMYKcmyk(69.8%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.91, 40.89, -62.44)
CIE-LCHlch(25.91, 74.64, 303.21°)
OKLaboklab(37.89% 0.0188 -0.1805)
OKLCHoklch(37.89% 0.181 275.9)
XYZxyz(8.2678, 4.7167, 33.2689)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30299F #989F29
analogous
#295D9F #30299F #6B299F
triadic
#30299F #9F3029 #299F30
tetradic
#30299F #9F295D #989F29 #299F6B
square
#30299F #9F295D #989F29 #299F6B
split-complementary
#30299F #9F6B29 #5D9F29
monochromatic
#13103E #211C6E #30299F #4239CC #706AD9

Accessibility & contrast

On white

10.81
#30299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#30299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30299F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30299F#FFFFFF#000000##FFFFFF
##30299F1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #30299f;
/* rgb */ color: rgb(48, 41, 159);
/* oklch */ color: oklch(37.9% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#7964bd',
    500: '#30299f',
    950: '#000000',
  },
}
SCSS
$custom: #30299f;
$custom-light: #7964bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30299f",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 243.559,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37886,
    "c": 0.18146,
    "h": 275.9
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#30299F
secondary
#BABF65
accent
#E246D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #30299F

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

Preview Lab → · Contrast checker → · Palette generator →

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