#30249B#30249B

#30249B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.181 H 277.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#30249B
RGBrgb(48, 36, 155)
HSLhsl(246, 62%, 37%)
HSVhsv(246, 77%, 61%)
CMYKcmyk(69%, 76.8%, 0%, 39.2%)
CIE-LABlab(24.50, 42.38, -62.33)
CIE-LCHlch(24.50, 75.37, 304.21°)
OKLaboklab(36.76% 0.0225 -0.1801)
OKLCHoklch(36.76% 0.182 277.1)
XYZxyz(7.7643, 4.2560, 31.4163)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30249B #8F9B24
analogous
#24549B #30249B #6B249B
triadic
#30249B #9B3024 #249B30
tetradic
#30249B #9B2454 #8F9B24 #249B6B
square
#30249B #9B2454 #8F9B24 #249B6B
split-complementary
#30249B #9B6B24 #549B24
monochromatic
#110D38 #211869 #30249B #3F30CD #6C5FDA

Accessibility & contrast

On white

11.34
#30249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#30249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30249B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30249B#FFFFFF#000000##FFFFFF
##30249B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #30249b;
/* rgb */ color: rgb(48, 36, 155);
/* oklch */ color: oklch(36.8% 0.181 277.1);
Tailwind
colors: {
  custom: {
    50: '#7861ba',
    500: '#30249b',
    950: '#000000',
  },
}
SCSS
$custom: #30249b;
$custom-light: #7861ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30249b",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 246.05,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36763,
    "c": 0.1815,
    "h": 277.1
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#30249B
secondary
#B5BF5C
accent
#E542D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #30249B

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

Preview Lab → · Contrast checker → · Palette generator →

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