#30249C#30249C

#30249C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.183 H 277.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#30249C
RGBrgb(48, 36, 156)
HSLhsl(246, 63%, 38%)
HSVhsv(246, 77%, 61%)
CMYKcmyk(69.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.61, 42.70, -62.77)
CIE-LCHlch(24.61, 75.91, 304.23°)
OKLaboklab(36.87% 0.0223 -0.1814)
OKLCHoklch(36.87% 0.183 277)
XYZxyz(7.8486, 4.2897, 31.8604)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249C #909C24
analogous
#24549C #30249C #6C249C
triadic
#30249C #9C3024 #249C30
tetradic
#30249C #9C2454 #909C24 #249C6C
square
#30249C #9C2454 #909C24 #249C6C
split-complementary
#30249C #9C6C24 #549C24
monochromatic
#110D39 #21196A #30249C #3F2FCE #6C60DA

Accessibility & contrast

On white

11.30
#30249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249C#FFFFFF#000000##FFFFFF
##30249C1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30249c;
/* rgb */ color: rgb(48, 36, 156);
/* oklch */ color: oklch(36.9% 0.183 277.0);
Tailwind
colors: {
  custom: {
    50: '#7961ba',
    500: '#30249c',
    950: '#000000',
  },
}
SCSS
$custom: #30249c;
$custom-light: #7961ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30249c",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 246,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.18274,
    "h": 277
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#30249C
secondary
#B5BF5C
accent
#E642D5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30249C

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

Preview Lab → · Contrast checker → · Palette generator →

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