#30549F#30549F

#30549F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.129 H 263.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#30549F
RGBrgb(48, 84, 159)
HSLhsl(221, 54%, 41%)
HSVhsv(221, 70%, 62%)
CMYKcmyk(69.8%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.88, 13.10, -44.60)
CIE-LCHlch(36.88, 46.49, 286.37°)
OKLaboklab(46.02% -0.0156 -0.1277)
OKLCHoklch(46.02% 0.129 263)
XYZxyz(10.6450, 9.4712, 34.0613)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30549F #9F7B30
analogous
#308B9F #30549F #44309F
triadic
#30549F #9F3054 #549F30
tetradic
#30549F #9F308B #9F7B30 #309F44
square
#30549F #9F308B #9F7B30 #309F44
split-complementary
#30549F #9F4430 #8B9F30
monochromatic
#142241 #223B70 #30549F #456FC7 #7494D5

Accessibility & contrast

On white

7.26
#30549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#30549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30549F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30549F#FFFFFF#000000##FFFFFF
##30549F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30549f;
/* rgb */ color: rgb(48, 84, 159);
/* oklch */ color: oklch(46.0% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#7683bc',
    500: '#30549f',
    950: '#000000',
  },
}
SCSS
$custom: #30549f;
$custom-light: #7683bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30549f",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 220.541,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.12868,
    "h": 263
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#30549F
secondary
#BDA36E
accent
#AE4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30549F

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

Preview Lab → · Contrast checker → · Palette generator →

#30549F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva