#30249D#30249D

#30249D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.184 H 276.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#30249D
RGBrgb(48, 36, 157)
HSLhsl(246, 63%, 38%)
HSVhsv(246, 77%, 62%)
CMYKcmyk(69.4%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.71, 43.02, -63.20)
CIE-LCHlch(24.71, 76.46, 304.24°)
OKLaboklab(36.98% 0.0221 -0.1826)
OKLCHoklch(36.98% 0.184 276.9)
XYZxyz(7.9336, 4.3237, 32.3082)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249D #919D24
analogous
#24559D #30249D #6C249D
triadic
#30249D #9D3024 #249D30
tetradic
#30249D #9D2455 #919D24 #249D6C
square
#30249D #9D2455 #919D24 #249D6C
split-complementary
#30249D #9D6C24 #559D24
monochromatic
#120D39 #21196B #30249D #3F2FCF #6D61DB

Accessibility & contrast

On white

11.26
#30249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#30249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249D
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249D#FFFFFF#000000##FFFFFF
##30249D1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #30249d;
/* rgb */ color: rgb(48, 36, 157);
/* oklch */ color: oklch(37.0% 0.184 276.9);
Tailwind
colors: {
  custom: {
    50: '#7961bb',
    500: '#30249d',
    950: '#000000',
  },
}
SCSS
$custom: #30249d;
$custom-light: #7961bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30249d",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 245.95,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36977,
    "c": 0.18397,
    "h": 276.9
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#30249D
secondary
#B6C05D
accent
#E642D6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30249D

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

Preview Lab → · Contrast checker → · Palette generator →

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