#30249A#30249A

#30249A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.180 H 277.3°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#30249A
RGBrgb(48, 36, 154)
HSLhsl(246, 62%, 37%)
HSVhsv(246, 77%, 60%)
CMYKcmyk(68.8%, 76.6%, 0%, 39.6%)
CIE-LABlab(24.39, 42.06, -61.89)
CIE-LCHlch(24.39, 74.83, 304.20°)
OKLaboklab(36.66% 0.0228 -0.1788)
OKLCHoklch(36.66% 0.18 277.3)
XYZxyz(7.6806, 4.2225, 30.9759)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249A #8E9A24
analogous
#24539A #30249A #6B249A
triadic
#30249A #9A3024 #249A30
tetradic
#30249A #9A2453 #8E9A24 #249A6B
square
#30249A #9A2453 #8E9A24 #249A6B
split-complementary
#30249A #9A6B24 #539A24
monochromatic
#110D37 #211868 #30249A #3F30CC #6B5FDA

Accessibility & contrast

On white

11.38
#30249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#30249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249A#FFFFFF#000000##FFFFFF
##30249A1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30249a;
/* rgb */ color: rgb(48, 36, 154);
/* oklch */ color: oklch(36.7% 0.180 277.3);
Tailwind
colors: {
  custom: {
    50: '#7861b9',
    500: '#30249a',
    950: '#000000',
  },
}
SCSS
$custom: #30249a;
$custom-light: #7861b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30249a",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 246.102,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.18028,
    "h": 277.3
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#30249A
secondary
#B4BF5B
accent
#E543D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30249A

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

Preview Lab → · Contrast checker → · Palette generator →

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