#30508D#30508D

#30508D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.108 H 262.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#30508D
RGBrgb(48, 80, 141)
HSLhsl(219, 49%, 37%)
HSVhsv(219, 66%, 55%)
CMYKcmyk(66%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.58, 9.00, -37.40)
CIE-LCHlch(34.58, 38.46, 283.53°)
OKLaboklab(43.89% -0.0149 -0.1066)
OKLCHoklch(43.89% 0.108 262)
XYZxyz(8.8936, 8.2880, 26.3252)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30508D #8D6D30
analogous
#307F8D #30508D #3F308D
triadic
#30508D #8D3050 #508D30
tetradic
#30508D #8D307F #8D6D30 #308D3F
square
#30508D #8D307F #8D6D30 #308D3F
split-complementary
#30508D #8D3F30 #7F8D30
monochromatic
#111C32 #20365F #30508D #406ABB #6B8CCD

Accessibility & contrast

On white

7.90
#30508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#30508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30508D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30508D#FFFFFF#000000##FFFFFF
##30508D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #30508d;
/* rgb */ color: rgb(48, 80, 141);
/* oklch */ color: oklch(43.9% 0.108 262.0);
Tailwind
colors: {
  custom: {
    50: '#7280af',
    500: '#30508d',
    950: '#000000',
  },
}
SCSS
$custom: #30508d;
$custom-light: #7280af;
$custom-dark: #000000;
JSON
{
  "hex": "#30508d",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 219.355,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.10764,
    "h": 262
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#30508D
secondary
#B49965
accent
#A94FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30508D

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

Preview Lab → · Contrast checker → · Palette generator →

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