#30549A#30549A

#30549A is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.122 H 262.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#30549A
RGBrgb(48, 84, 154)
HSLhsl(220, 52%, 40%)
HSVhsv(220, 69%, 60%)
CMYKcmyk(68.8%, 45.5%, 0%, 39.6%)
CIE-LABlab(36.56, 11.22, -42.11)
CIE-LCHlch(36.56, 43.58, 284.92°)
OKLaboklab(45.68% -0.0165 -0.1204)
OKLCHoklch(45.68% 0.122 262.2)
XYZxyz(10.2199, 9.3011, 31.8223)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30549A #9A7630
analogous
#30899A #30549A #41309A
triadic
#30549A #9A3054 #549A30
tetradic
#30549A #9A3089 #9A7630 #309A41
square
#30549A #9A3089 #9A7630 #309A41
split-complementary
#30549A #9A4130 #899A30
monochromatic
#13213D #213B6B #30549A #436FC4 #7293D3

Accessibility & contrast

On white

7.34
#30549A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#30549A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30549A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30549A#FFFFFF#000000##FFFFFF
##30549A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#1F5199
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #30549a;
/* rgb */ color: rgb(48, 84, 154);
/* oklch */ color: oklch(45.7% 0.122 262.2);
Tailwind
colors: {
  custom: {
    50: '#7583b8',
    500: '#30549a',
    950: '#000000',
  },
}
SCSS
$custom: #30549a;
$custom-light: #7583b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30549a",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 154
  },
  "hsl": {
    "h": 219.623,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.12151,
    "h": 262.2
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#30549A
secondary
#BBA06B
accent
#AB4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #30549A

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

Preview Lab → · Contrast checker → · Palette generator →

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