#30247C#30247C

#30247C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.142 H 281.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#30247C
RGBrgb(48, 36, 124)
HSLhsl(248, 55%, 31%)
HSVhsv(248, 71%, 49%)
CMYKcmyk(61.3%, 71%, 0%, 51.4%)
CIE-LABlab(21.38, 32.14, -48.14)
CIE-LCHlch(21.38, 57.88, 303.73°)
OKLaboklab(33.6% 0.029 -0.1386)
OKLCHoklch(33.6% 0.142 281.8)
XYZxyz(5.4868, 3.3450, 19.4214)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30247C #707C24
analogous
#24447C #30247C #5C247C
triadic
#30247C #7C3024 #247C30
tetradic
#30247C #7C2444 #707C24 #247C5C
square
#30247C #7C2444 #707C24 #247C5C
split-complementary
#30247C #7C5C24 #447C24
monochromatic
#0B081D #1E164D #30247C #4232AB #604FCC

Accessibility & contrast

On white

12.58
#30247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#30247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30247C
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30247C#FFFFFF#000000##FFFFFF
##30247C1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30247c;
/* rgb */ color: rgb(48, 36, 124);
/* oklch */ color: oklch(33.6% 0.142 281.8);
Tailwind
colors: {
  custom: {
    50: '#7260a3',
    500: '#30247c',
    950: '#000000',
  },
}
SCSS
$custom: #30247c;
$custom-light: #7260a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30247c",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 248.182,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33597,
    "c": 0.14163,
    "h": 281.8
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#30247C
secondary
#A1AE4D
accent
#DE49CA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #30247C

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

Preview Lab → · Contrast checker → · Palette generator →

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