#30248C#30248C

#30248C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.163 H 279.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#30248C
RGBrgb(48, 36, 140)
HSLhsl(247, 59%, 35%)
HSVhsv(247, 74%, 55%)
CMYKcmyk(65.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(22.94, 37.48, -55.64)
CIE-LCHlch(22.94, 67.08, 303.96°)
OKLaboklab(35.19% 0.0259 -0.1606)
OKLCHoklch(35.19% 0.163 279.2)
XYZxyz(6.5819, 3.7831, 25.1892)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30248C #808C24
analogous
#244C8C #30248C #64248C
triadic
#30248C #8C3024 #248C30
tetradic
#30248C #8C244C #808C24 #248C64
square
#30248C #8C244C #808C24 #248C64
split-complementary
#30248C #8C6424 #4C8C24
monochromatic
#0F0B2B #1F175B #30248C #4131BD #6557D4

Accessibility & contrast

On white

11.95
#30248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#30248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30248C
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30248C#FFFFFF#000000##FFFFFF
##30248C1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #30248c;
/* rgb */ color: rgb(48, 36, 140);
/* oklch */ color: oklch(35.2% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#7560af',
    500: '#30248c',
    950: '#000000',
  },
}
SCSS
$custom: #30248c;
$custom-light: #7560af;
$custom-dark: #000000;
JSON
{
  "hex": "#30248c",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 246.923,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.16266,
    "h": 279.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#30248C
secondary
#ACB854
accent
#E246D0
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #30248C

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

Preview Lab → · Contrast checker → · Palette generator →

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