#30508E#30508E

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

Color values

HEX#30508E
RGBrgb(48, 80, 142)
HSLhsl(220, 49%, 37%)
HSVhsv(220, 66%, 56%)
CMYKcmyk(66.2%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.64, 9.37, -37.91)
CIE-LCHlch(34.64, 39.05, 283.88°)
OKLaboklab(43.96% -0.0147 -0.1081)
OKLCHoklch(43.96% 0.109 262.3)
XYZxyz(8.9684, 8.3178, 26.7188)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30508E #8E6E30
analogous
#307F8E #30508E #3F308E
triadic
#30508E #8E3050 #508E30
tetradic
#30508E #8E307F #8E6E30 #308E3F
square
#30508E #8E307F #8E6E30 #308E3F
split-complementary
#30508E #8E3F30 #7F8E30
monochromatic
#111C33 #213660 #30508E #3F6ABC #6B8DCD

Accessibility & contrast

On white

7.88
#30508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30508E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30508E#FFFFFF#000000##FFFFFF
##30508E1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#254D8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #30508e;
/* rgb */ color: rgb(48, 80, 142);
/* oklch */ color: oklch(44.0% 0.109 262.3);
Tailwind
colors: {
  custom: {
    50: '#7280af',
    500: '#30508e',
    950: '#000000',
  },
}
SCSS
$custom: #30508e;
$custom-light: #7280af;
$custom-dark: #000000;
JSON
{
  "hex": "#30508e",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 219.574,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.10911,
    "h": 262.3
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#30508E
secondary
#B49A65
accent
#AA4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30508E

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

Preview Lab → · Contrast checker → · Palette generator →

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