#30548D#30548D

#30548D is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.103 H 259.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#30548D
RGBrgb(48, 84, 141)
HSLhsl(217, 49%, 37%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(66%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.77, 6.37, -35.49)
CIE-LCHlch(35.77, 36.05, 280.18°)
OKLaboklab(44.82% -0.0192 -0.101)
OKLCHoklch(44.82% 0.103 259.2)
XYZxyz(9.1953, 8.8912, 26.4257)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30548D #8D6930
analogous
#30838D #30548D #3B308D
triadic
#30548D #8D3054 #548D30
tetradic
#30548D #8D3083 #8D6930 #308D3B
square
#30548D #8D3083 #8D6930 #308D3B
split-complementary
#30548D #8D3B30 #838D30
monochromatic
#111E32 #20395F #30548D #406FBB #6B91CD

Accessibility & contrast

On white

7.56
#30548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30548D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30548D#FFFFFF#000000##FFFFFF
##30548D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30548d;
/* rgb */ color: rgb(48, 84, 141);
/* oklch */ color: oklch(44.8% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#7283ae',
    500: '#30548d',
    950: '#000000',
  },
}
SCSS
$custom: #30548d;
$custom-light: #7283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30548d",
  "rgb": {
    "r": 48,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 216.774,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.10277,
    "h": 259.2
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#30548D
secondary
#B49565
accent
#A34FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30548D

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

Preview Lab → · Contrast checker → · Palette generator →

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