#30549E#30549E

#30549E is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.127 H 262.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#30549E
RGBrgb(48, 84, 158)
HSLhsl(220, 53%, 40%)
HSVhsv(220, 70%, 62%)
CMYKcmyk(69.6%, 46.8%, 0%, 38%)
CIE-LABlab(36.81, 12.72, -44.11)
CIE-LCHlch(36.81, 45.90, 286.09°)
OKLaboklab(45.95% -0.0158 -0.1263)
OKLCHoklch(45.95% 0.127 262.9)
XYZxyz(10.5586, 9.4366, 33.6061)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30549E #9E7A30
analogous
#308B9E #30549E #43309E
triadic
#30549E #9E3054 #549E30
tetradic
#30549E #9E308B #9E7A30 #309E43
square
#30549E #9E308B #9E7A30 #309E43
split-complementary
#30549E #9E4330 #8B9E30
monochromatic
#132240 #223B6F #30549E #456FC6 #7493D5

Accessibility & contrast

On white

7.27
#30549E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30549E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30549E#FFFFFF#000000##FFFFFF
##30549E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#18529C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #30549e;
/* rgb */ color: rgb(48, 84, 158);
/* oklch */ color: oklch(46.0% 0.127 262.9);
Tailwind
colors: {
  custom: {
    50: '#7583bb',
    500: '#30549e',
    950: '#000000',
  },
}
SCSS
$custom: #30549e;
$custom-light: #7583bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30549e",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 220.364,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.12725,
    "h": 262.9
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#30549E
secondary
#BDA36D
accent
#AD4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #30549E

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

Preview Lab → · Contrast checker → · Palette generator →

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