#30508C#30508C

#30508C is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.106 H 261.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#30508C
RGBrgb(48, 80, 140)
HSLhsl(219, 49%, 37%)
HSVhsv(219, 66%, 55%)
CMYKcmyk(65.7%, 42.9%, 0%, 45.1%)
CIE-LABlab(34.52, 8.63, -36.88)
CIE-LCHlch(34.52, 37.88, 283.16°)
OKLaboklab(43.82% -0.0151 -0.1051)
OKLCHoklch(43.82% 0.106 261.8)
XYZxyz(8.8195, 8.2583, 25.9351)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30508C #8C6C30
analogous
#307E8C #30508C #3E308C
triadic
#30508C #8C3050 #508C30
tetradic
#30508C #8C307E #8C6C30 #308C3E
square
#30508C #8C307E #8C6C30 #308C3E
split-complementary
#30508C #8C3E30 #7E8C30
monochromatic
#111C31 #20365E #30508C #406ABA #6A8CCC

Accessibility & contrast

On white

7.92
#30508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30508C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30508C#FFFFFF#000000##FFFFFF
##30508C1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #30508c;
/* rgb */ color: rgb(48, 80, 140);
/* oklch */ color: oklch(43.8% 0.106 261.8);
Tailwind
colors: {
  custom: {
    50: '#7280ae',
    500: '#30508c',
    950: '#000000',
  },
}
SCSS
$custom: #30508c;
$custom-light: #7280ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30508c",
  "rgb": {
    "r": 48,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 219.13,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.10618,
    "h": 261.8
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#30508C
secondary
#B39864
accent
#A94FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #30508C

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

Preview Lab → · Contrast checker → · Palette generator →

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