#30528E#30528E

#30528E is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.107 H 260.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#30528E
RGBrgb(48, 82, 142)
HSLhsl(218, 49%, 37%)
HSVhsv(218, 66%, 56%)
CMYKcmyk(66.2%, 42.3%, 0%, 44.3%)
CIE-LABlab(35.23, 8.05, -36.96)
CIE-LCHlch(35.23, 37.83, 282.29°)
OKLaboklab(44.42% -0.0168 -0.1053)
OKLCHoklch(44.42% 0.107 260.9)
XYZxyz(9.1170, 8.6151, 26.7684)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30528E #8E6C30
analogous
#30818E #30528E #3D308E
triadic
#30528E #8E3052 #528E30
tetradic
#30528E #8E3081 #8E6C30 #308E3D
square
#30528E #8E3081 #8E6C30 #308E3D
split-complementary
#30528E #8E3D30 #818E30
monochromatic
#111D33 #213860 #30528E #3F6CBC #6B8FCD

Accessibility & contrast

On white

7.71
#30528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#30528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30528E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30528E#FFFFFF#000000##FFFFFF
##30528E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #30528e;
/* rgb */ color: rgb(48, 82, 142);
/* oklch */ color: oklch(44.4% 0.107 260.9);
Tailwind
colors: {
  custom: {
    50: '#7282af',
    500: '#30528e',
    950: '#000000',
  },
}
SCSS
$custom: #30528e;
$custom-light: #7282af;
$custom-dark: #000000;
JSON
{
  "hex": "#30528e",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 218.298,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.10663,
    "h": 260.9
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#30528E
secondary
#B49865
accent
#A74FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30528E

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

Preview Lab → · Contrast checker → · Palette generator →

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