#30249F#30249F

#30249F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.186 H 276.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#30249F
RGBrgb(48, 36, 159)
HSLhsl(246, 63%, 38%)
HSVhsv(246, 77%, 62%)
CMYKcmyk(69.8%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.93, 43.67, -64.07)
CIE-LCHlch(24.93, 77.53, 304.28°)
OKLaboklab(37.19% 0.0216 -0.1852)
OKLCHoklch(37.19% 0.186 276.7)
XYZxyz(8.1058, 4.3926, 33.2149)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249F #939F24
analogous
#24559F #30249F #6D249F
triadic
#30249F #9F3024 #249F30
tetradic
#30249F #9F2455 #939F24 #249F6D
square
#30249F #9F2455 #939F24 #249F6D
split-complementary
#30249F #9F6D24 #559F24
monochromatic
#120D3B #21196D #30249F #4030D0 #6E62DB

Accessibility & contrast

On white

11.18
#30249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#30249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249F#FFFFFF#000000##FFFFFF
##30249F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30249f;
/* rgb */ color: rgb(48, 36, 159);
/* oklch */ color: oklch(37.2% 0.186 276.7);
Tailwind
colors: {
  custom: {
    50: '#7961bd',
    500: '#30249f',
    950: '#000000',
  },
}
SCSS
$custom: #30249f;
$custom-light: #7961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#30249f",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 245.854,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.18641,
    "h": 276.7
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#30249F
secondary
#B7C15E
accent
#E642D6
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30249F

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

Preview Lab → · Contrast checker → · Palette generator →

#30249F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva