#30518E#30518E

#30518E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.108 H 261.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#30518E
RGBrgb(48, 81, 142)
HSLhsl(219, 49%, 37%)
HSVhsv(219, 66%, 56%)
CMYKcmyk(66.2%, 43%, 0%, 44.3%)
CIE-LABlab(34.93, 8.71, -37.43)
CIE-LCHlch(34.93, 38.43, 283.10°)
OKLaboklab(44.19% -0.0157 -0.1067)
OKLCHoklch(44.19% 0.108 261.6)
XYZxyz(9.0421, 8.4654, 26.7434)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30518E #8E6D30
analogous
#30808E #30518E #3E308E
triadic
#30518E #8E3051 #518E30
tetradic
#30518E #8E3080 #8E6D30 #308E3E
square
#30518E #8E3080 #8E6D30 #308E3E
split-complementary
#30518E #8E3E30 #808E30
monochromatic
#111D33 #213760 #30518E #3F6BBC #6B8ECD

Accessibility & contrast

On white

7.80
#30518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#30518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30518E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30518E#FFFFFF#000000##FFFFFF
##30518E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #30518e;
/* rgb */ color: rgb(48, 81, 142);
/* oklch */ color: oklch(44.2% 0.108 261.6);
Tailwind
colors: {
  custom: {
    50: '#7281af',
    500: '#30518e',
    950: '#000000',
  },
}
SCSS
$custom: #30518e;
$custom-light: #7281af;
$custom-dark: #000000;
JSON
{
  "hex": "#30518e",
  "rgb": {
    "r": 48,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 218.936,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.10787,
    "h": 261.6
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#30518E
secondary
#B49965
accent
#A84FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30518E

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

Preview Lab → · Contrast checker → · Palette generator →

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