#30247E#30247E

#30247E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.144 H 281.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#30247E
RGBrgb(48, 36, 126)
HSLhsl(248, 56%, 32%)
HSVhsv(248, 71%, 49%)
CMYKcmyk(61.9%, 71.4%, 0%, 50.6%)
CIE-LABlab(21.57, 32.81, -49.10)
CIE-LCHlch(21.57, 59.05, 303.75°)
OKLaboklab(33.79% 0.0286 -0.1414)
OKLCHoklch(33.79% 0.144 281.4)
XYZxyz(5.6145, 3.3961, 20.0943)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30247E #727E24
analogous
#24457E #30247E #5D247E
triadic
#30247E #7E3024 #247E30
tetradic
#30247E #7E2445 #727E24 #247E5D
square
#30247E #7E2445 #727E24 #247E5D
split-complementary
#30247E #7E5D24 #457E24
monochromatic
#0C091F #1E164E #30247E #4232AE #6050CD

Accessibility & contrast

On white

12.51
#30247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#30247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30247E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30247E#FFFFFF#000000##FFFFFF
##30247E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #30247e;
/* rgb */ color: rgb(48, 36, 126);
/* oklch */ color: oklch(33.8% 0.144 281.4);
Tailwind
colors: {
  custom: {
    50: '#7260a4',
    500: '#30247e',
    950: '#000000',
  },
}
SCSS
$custom: #30247e;
$custom-light: #7260a4;
$custom-dark: #000000;
JSON
{
  "hex": "#30247e",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 248,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.14432,
    "h": 281.4
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#30247E
secondary
#A3B04E
accent
#DF49CB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #30247E

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

Preview Lab → · Contrast checker → · Palette generator →

#30247E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva