#30529C#30529C

#30529C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.127 H 263.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#30529C
RGBrgb(48, 82, 156)
HSLhsl(221, 53%, 40%)
HSVhsv(221, 69%, 61%)
CMYKcmyk(69.2%, 47.4%, 0%, 38.8%)
CIE-LABlab(36.10, 13.29, -44.04)
CIE-LCHlch(36.10, 46.00, 286.79°)
OKLaboklab(45.37% -0.0142 -0.1261)
OKLCHoklch(45.37% 0.127 263.6)
XYZxyz(10.2349, 9.0622, 32.6558)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30529C #9C7A30
analogous
#30889C #30529C #44309C
triadic
#30529C #9C3052 #529C30
tetradic
#30529C #9C3088 #9C7A30 #309C44
square
#30529C #9C3088 #9C7A30 #309C44
split-complementary
#30529C #9C4430 #889C30
monochromatic
#13213E #22396D #30529C #446DC5 #7391D4

Accessibility & contrast

On white

7.47
#30529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#30529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30529C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30529C#FFFFFF#000000##FFFFFF
##30529C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9F
Deuteranopia (green-blind)
#15509A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #30529c;
/* rgb */ color: rgb(48, 82, 156);
/* oklch */ color: oklch(45.4% 0.127 263.6);
Tailwind
colors: {
  custom: {
    50: '#7582ba',
    500: '#30529c',
    950: '#000000',
  },
}
SCSS
$custom: #30529c;
$custom-light: #7582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30529c",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 221.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.1269,
    "h": 263.6
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#30529C
secondary
#BCA36C
accent
#AF4BDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30529C

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

Preview Lab → · Contrast checker → · Palette generator →

#30529C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva