#30548E#30548E

#30548E is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.104 H 259.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#30548E
RGBrgb(48, 84, 142)
HSLhsl(217, 49%, 37%)
HSVhsv(217, 66%, 56%)
CMYKcmyk(66.2%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.83, 6.74, -36.00)
CIE-LCHlch(35.83, 36.63, 280.60°)
OKLaboklab(44.88% -0.019 -0.1025)
OKLCHoklch(44.88% 0.104 259.5)
XYZxyz(9.2700, 8.9211, 26.8194)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30548E #8E6A30
analogous
#30838E #30548E #3B308E
triadic
#30548E #8E3054 #548E30
tetradic
#30548E #8E3083 #8E6A30 #308E3B
square
#30548E #8E3083 #8E6A30 #308E3B
split-complementary
#30548E #8E3B30 #838E30
monochromatic
#111E33 #213960 #30548E #3F6FBC #6B91CD

Accessibility & contrast

On white

7.54
#30548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#30548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30548E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30548E#FFFFFF#000000##FFFFFF
##30548E1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30548e;
/* rgb */ color: rgb(48, 84, 142);
/* oklch */ color: oklch(44.9% 0.104 259.5);
Tailwind
colors: {
  custom: {
    50: '#7283af',
    500: '#30548e',
    950: '#000000',
  },
}
SCSS
$custom: #30548e;
$custom-light: #7283af;
$custom-dark: #000000;
JSON
{
  "hex": "#30548e",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 217.021,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.10421,
    "h": 259.5
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#30548E
secondary
#B49665
accent
#A44FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30548E

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

Preview Lab → · Contrast checker → · Palette generator →

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