#30549C#30549C

#30549C is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.124 H 262.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#30549C
RGBrgb(48, 84, 156)
HSLhsl(220, 53%, 40%)
HSVhsv(220, 69%, 61%)
CMYKcmyk(69.2%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.68, 11.97, -43.11)
CIE-LCHlch(36.68, 44.74, 285.52°)
OKLaboklab(45.81% -0.0161 -0.1233)
OKLCHoklch(45.81% 0.124 262.6)
XYZxyz(10.3879, 9.3683, 32.7069)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30549C #9C7830
analogous
#308A9C #30549C #42309C
triadic
#30549C #9C3054 #549C30
tetradic
#30549C #9C308A #9C7830 #309C42
square
#30549C #9C308A #9C7830 #309C42
split-complementary
#30549C #9C4230 #8A9C30
monochromatic
#13223E #223B6D #30549C #446FC5 #7393D4

Accessibility & contrast

On white

7.31
#30549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#30549C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30549C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30549C#FFFFFF#000000##FFFFFF
##30549C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #30549c;
/* rgb */ color: rgb(48, 84, 156);
/* oklch */ color: oklch(45.8% 0.124 262.6);
Tailwind
colors: {
  custom: {
    50: '#7583ba',
    500: '#30549c',
    950: '#000000',
  },
}
SCSS
$custom: #30549c;
$custom-light: #7583ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30549c",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 220,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.12439,
    "h": 262.6
  },
  "luminance": 0.09369
}

Semantic roles & 50–950 ramp

primary
#30549C
secondary
#BCA16C
accent
#AC4BDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30549C

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

Preview Lab → · Contrast checker → · Palette generator →

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