#30288A#30288A

#30288A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.156 H 278.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#30288A
RGBrgb(48, 40, 138)
HSLhsl(245, 55%, 35%)
HSVhsv(245, 71%, 54%)
CMYKcmyk(65.2%, 71%, 0%, 45.9%)
CIE-LABlab(23.61, 34.42, -53.30)
CIE-LCHlch(23.61, 63.44, 302.85°)
OKLaboklab(35.61% 0.0233 -0.1537)
OKLCHoklch(35.61% 0.156 278.6)
XYZxyz(6.5637, 3.9804, 24.4622)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30288A #828A28
analogous
#28518A #30288A #61288A
triadic
#30288A #8A3028 #288A30
tetradic
#30288A #8A2851 #828A28 #288A61
square
#30288A #8A2851 #828A28 #288A61
split-complementary
#30288A #8A6128 #518A28
monochromatic
#0F0C2B #1F1A5B #30288A #4136B9 #665DD0

Accessibility & contrast

On white

11.69
#30288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#30288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30288A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30288A#FFFFFF#000000##FFFFFF
##30288A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #30288a;
/* rgb */ color: rgb(48, 40, 138);
/* oklch */ color: oklch(35.6% 0.156 278.6);
Tailwind
colors: {
  custom: {
    50: '#7463ad',
    500: '#30288a',
    950: '#000000',
  },
}
SCSS
$custom: #30288a;
$custom-light: #7463ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30288a",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 244.898,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.15551,
    "h": 278.6
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#30288A
secondary
#AEB559
accent
#DE49D2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #30288A

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

Preview Lab → · Contrast checker → · Palette generator →

#30288A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva