#30528A#30528A

#30528A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.101 H 259.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#30528A
RGBrgb(48, 82, 138)
HSLhsl(217, 48%, 36%)
HSVhsv(217, 65%, 54%)
CMYKcmyk(65.2%, 40.6%, 0%, 45.9%)
CIE-LABlab(35.00, 6.57, -34.89)
CIE-LCHlch(35.00, 35.50, 280.66°)
OKLaboklab(44.16% -0.0177 -0.0992)
OKLCHoklch(44.16% 0.101 259.9)
XYZxyz(8.8220, 8.4971, 25.2150)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30528A #8A6830
analogous
#307F8A #30528A #3B308A
triadic
#30528A #8A3052 #528A30
tetradic
#30528A #8A307F #8A6830 #308A3B
square
#30528A #8A307F #8A6830 #308A3B
split-complementary
#30528A #8A3B30 #7F8A30
monochromatic
#101C2F #20375D #30528A #406DB7 #698ECB

Accessibility & contrast

On white

7.78
#30528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#30528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30528A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30528A#FFFFFF#000000##FFFFFF
##30528A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #30528a;
/* rgb */ color: rgb(48, 82, 138);
/* oklch */ color: oklch(44.2% 0.101 259.9);
Tailwind
colors: {
  custom: {
    50: '#7282ac',
    500: '#30528a',
    950: '#000000',
  },
}
SCSS
$custom: #30528a;
$custom-light: #7282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#30528a",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 217.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.10081,
    "h": 259.9
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#30528A
secondary
#B29564
accent
#A550D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #30528A

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

Preview Lab → · Contrast checker → · Palette generator →

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