#30298D#30298D

#30298D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.158 H 278.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#30298D
RGBrgb(48, 41, 141)
HSLhsl(244, 55%, 36%)
HSVhsv(244, 71%, 55%)
CMYKcmyk(66%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.12, 34.83, -54.32)
CIE-LCHlch(24.12, 64.53, 302.66°)
OKLaboklab(36.06% 0.0221 -0.1567)
OKLCHoklch(36.06% 0.158 278)
XYZxyz(6.8180, 4.1368, 25.6333)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30298D #868D29
analogous
#29548D #30298D #62298D
triadic
#30298D #8D3029 #298D30
tetradic
#30298D #8D2954 #868D29 #298D62
square
#30298D #8D2954 #868D29 #298D62
split-complementary
#30298D #8D6229 #548D29
monochromatic
#100D2E #201B5E #30298D #4037BC #6860D1

Accessibility & contrast

On white

11.49
#30298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#30298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30298D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30298D#FFFFFF#000000##FFFFFF
##30298D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #30298d;
/* rgb */ color: rgb(48, 41, 141);
/* oklch */ color: oklch(36.1% 0.158 278.0);
Tailwind
colors: {
  custom: {
    50: '#7564af',
    500: '#30298d',
    950: '#000000',
  },
}
SCSS
$custom: #30298d;
$custom-light: #7564af;
$custom-dark: #000000;
JSON
{
  "hex": "#30298d",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 244.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.15829,
    "h": 278
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#30298D
secondary
#B0B65B
accent
#DE4AD4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #30298D

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

Preview Lab → · Contrast checker → · Palette generator →

#30298D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva