#30508B#30508B

#30508B is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.105 H 261.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#30508B
RGBrgb(48, 80, 139)
HSLhsl(219, 49%, 37%)
HSVhsv(219, 65%, 55%)
CMYKcmyk(65.5%, 42.4%, 0%, 45.5%)
CIE-LABlab(34.46, 8.25, -36.37)
CIE-LCHlch(34.46, 37.29, 282.79°)
OKLaboklab(43.76% -0.0153 -0.1036)
OKLCHoklch(43.76% 0.105 261.6)
XYZxyz(8.7461, 8.2290, 25.5485)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30508B #8B6B30
analogous
#307E8B #30508B #3E308B
triadic
#30508B #8B3050 #508B30
tetradic
#30508B #8B307E #8B6B30 #308B3E
square
#30508B #8B307E #8B6B30 #308B3E
split-complementary
#30508B #8B3E30 #7E8B30
monochromatic
#111C30 #20365E #30508B #406AB8 #6A8CCC

Accessibility & contrast

On white

7.94
#30508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#30508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30508B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30508B#FFFFFF#000000##FFFFFF
##30508B1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568D
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #30508b;
/* rgb */ color: rgb(48, 80, 139);
/* oklch */ color: oklch(43.8% 0.105 261.6);
Tailwind
colors: {
  custom: {
    50: '#7280ad',
    500: '#30508b',
    950: '#000000',
  },
}
SCSS
$custom: #30508b;
$custom-light: #7280ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30508b",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 218.901,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.10472,
    "h": 261.6
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#30508B
secondary
#B39764
accent
#A850D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #30508B

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

Preview Lab → · Contrast checker → · Palette generator →

#30508B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva