#30529D#30529D

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

Color values

HEX#30529D
RGBrgb(48, 82, 157)
HSLhsl(221, 53%, 40%)
HSVhsv(221, 69%, 62%)
CMYKcmyk(69.4%, 47.8%, 0%, 38.4%)
CIE-LABlab(36.17, 13.67, -44.54)
CIE-LCHlch(36.17, 46.59, 287.06°)
OKLaboklab(45.44% -0.014 -0.1276)
OKLCHoklch(45.44% 0.128 263.7)
XYZxyz(10.3199, 9.0963, 33.1036)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30529D #9D7B30
analogous
#30899D #30529D #44309D
triadic
#30529D #9D3052 #529D30
tetradic
#30529D #9D3089 #9D7B30 #309D44
square
#30529D #9D3089 #9D7B30 #309D44
split-complementary
#30529D #9D4430 #899D30
monochromatic
#13213F #223A6E #30529D #446DC6 #7391D4

Accessibility & contrast

On white

7.45
#30529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#30529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30529D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30529D#FFFFFF#000000##FFFFFF
##30529D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #30529d;
/* rgb */ color: rgb(48, 82, 157);
/* oklch */ color: oklch(45.4% 0.128 263.7);
Tailwind
colors: {
  custom: {
    50: '#7582ba',
    500: '#30529d',
    950: '#000000',
  },
}
SCSS
$custom: #30529d;
$custom-light: #7582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30529d",
  "rgb": {
    "r": 48,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 221.284,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.12834,
    "h": 263.7
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#30529D
secondary
#BCA36D
accent
#AF4BDD
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30529D

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

Preview Lab → · Contrast checker → · Palette generator →

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