#30508F#30508F

#30508F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.111 H 262.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#30508F
RGBrgb(48, 80, 143)
HSLhsl(220, 50%, 37%)
HSVhsv(220, 66%, 56%)
CMYKcmyk(66.4%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.70, 9.74, -38.42)
CIE-LCHlch(34.70, 39.64, 284.23°)
OKLaboklab(44.02% -0.0145 -0.1096)
OKLCHoklch(44.02% 0.111 262.5)
XYZxyz(9.0438, 8.3480, 27.1160)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30508F #8F6F30
analogous
#30808F #30508F #3F308F
triadic
#30508F #8F3050 #508F30
tetradic
#30508F #8F3080 #8F6F30 #308F3F
square
#30508F #8F3080 #8F6F30 #308F3F
split-complementary
#30508F #8F3F30 #808F30
monochromatic
#111D33 #213661 #30508F #3F6ABD #6C8DCE

Accessibility & contrast

On white

7.87
#30508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#30508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30508F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30508F#FFFFFF#000000##FFFFFF
##30508F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #30508f;
/* rgb */ color: rgb(48, 80, 143);
/* oklch */ color: oklch(44.0% 0.111 262.5);
Tailwind
colors: {
  custom: {
    50: '#7380b0',
    500: '#30508f',
    950: '#000000',
  },
}
SCSS
$custom: #30508f;
$custom-light: #7380b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30508f",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 219.789,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44022,
    "c": 0.11057,
    "h": 262.5
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#30508F
secondary
#B59A66
accent
#AB4FD9
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30508F

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

Preview Lab → · Contrast checker → · Palette generator →

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