#30249E#30249E

#30249E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.185 H 276.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#30249E
RGBrgb(48, 36, 158)
HSLhsl(246, 63%, 38%)
HSVhsv(246, 77%, 62%)
CMYKcmyk(69.6%, 77.2%, 0%, 38%)
CIE-LABlab(24.82, 43.34, -63.63)
CIE-LCHlch(24.82, 76.99, 304.26°)
OKLaboklab(37.08% 0.0218 -0.1839)
OKLCHoklch(37.08% 0.185 276.8)
XYZxyz(8.0193, 4.3580, 32.7597)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249E #929E24
analogous
#24559E #30249E #6D249E
triadic
#30249E #9E3024 #249E30
tetradic
#30249E #9E2455 #929E24 #249E6D
square
#30249E #9E2455 #929E24 #249E6D
split-complementary
#30249E #9E6D24 #559E24
monochromatic
#120D3A #21196C #30249E #3F2FD0 #6D61DB

Accessibility & contrast

On white

11.22
#30249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#30249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249E
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249E#FFFFFF#000000##FFFFFF
##30249E1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30249e;
/* rgb */ color: rgb(48, 36, 158);
/* oklch */ color: oklch(37.1% 0.185 276.8);
Tailwind
colors: {
  custom: {
    50: '#7961bc',
    500: '#30249e',
    950: '#000000',
  },
}
SCSS
$custom: #30249e;
$custom-light: #7961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30249e",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 245.902,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.18519,
    "h": 276.8
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30249E

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

Preview Lab → · Contrast checker → · Palette generator →

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