#30248B#30248B

#30248B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.161 H 279.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#30248B
RGBrgb(48, 36, 139)
HSLhsl(247, 59%, 34%)
HSVhsv(247, 74%, 55%)
CMYKcmyk(65.5%, 74.1%, 0%, 45.5%)
CIE-LABlab(22.84, 37.15, -55.18)
CIE-LCHlch(22.84, 66.52, 303.95°)
OKLaboklab(35.09% 0.0261 -0.1592)
OKLCHoklch(35.09% 0.161 279.3)
XYZxyz(6.5085, 3.7537, 24.8026)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30248B #7F8B24
analogous
#244C8B #30248B #64248B
triadic
#30248B #8B3024 #248B30
tetradic
#30248B #8B244C #7F8B24 #248B64
square
#30248B #8B244C #7F8B24 #248B64
split-complementary
#30248B #8B6424 #4C8B24
monochromatic
#0E0B2A #1F175A #30248B #4131BC #6556D3

Accessibility & contrast

On white

11.99
#30248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30248B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30248B#FFFFFF#000000##FFFFFF
##30248B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #30248b;
/* rgb */ color: rgb(48, 36, 139);
/* oklch */ color: oklch(35.1% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#7560ae',
    500: '#30248b',
    950: '#000000',
  },
}
SCSS
$custom: #30248b;
$custom-light: #7560ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30248b",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 246.99,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35089,
    "c": 0.16137,
    "h": 279.3
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#30248B
secondary
#ACB753
accent
#E246D0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #30248B

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

Preview Lab → · Contrast checker → · Palette generator →

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