#30248A#30248A

#30248A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.160 H 279.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#30248A
RGBrgb(48, 36, 138)
HSLhsl(247, 59%, 34%)
HSVhsv(247, 74%, 54%)
CMYKcmyk(65.2%, 73.9%, 0%, 45.9%)
CIE-LABlab(22.74, 36.81, -54.72)
CIE-LCHlch(22.74, 65.95, 303.93°)
OKLaboklab(34.99% 0.0263 -0.1579)
OKLCHoklch(34.99% 0.16 279.5)
XYZxyz(6.4358, 3.7246, 24.4196)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30248A #7E8A24
analogous
#244B8A #30248A #63248A
triadic
#30248A #8A3024 #248A30
tetradic
#30248A #8A244B #7E8A24 #248A63
square
#30248A #8A244B #7E8A24 #248A63
split-complementary
#30248A #8A6324 #4B8A24
monochromatic
#0E0B29 #1F1759 #30248A #4131BB #6456D3

Accessibility & contrast

On white

12.03
#30248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#30248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30248A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30248A#FFFFFF#000000##FFFFFF
##30248A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #30248a;
/* rgb */ color: rgb(48, 36, 138);
/* oklch */ color: oklch(35.0% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#7560ad',
    500: '#30248a',
    950: '#000000',
  },
}
SCSS
$custom: #30248a;
$custom-light: #7560ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30248a",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 247.059,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.16008,
    "h": 279.5
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#30248A
secondary
#ABB753
accent
#E246CF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #30248A

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

Preview Lab → · Contrast checker → · Palette generator →

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