#30579E#30579E

#30579E is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.124 H 261.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#30579E
RGBrgb(48, 87, 158)
HSLhsl(219, 53%, 40%)
HSVhsv(219, 70%, 62%)
CMYKcmyk(69.6%, 44.9%, 0%, 38%)
CIE-LABlab(37.68, 10.75, -42.71)
CIE-LCHlch(37.68, 44.04, 284.13°)
OKLaboklab(46.62% -0.0187 -0.1221)
OKLCHoklch(46.62% 0.124 261.3)
XYZxyz(10.7965, 9.9123, 33.6854)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579E #9E7730
analogous
#308E9E #30579E #40309E
triadic
#30579E #9E3057 #579E30
tetradic
#30579E #9E308E #9E7730 #309E40
square
#30579E #9E308E #9E7730 #309E40
split-complementary
#30579E #9E4030 #8E9E30
monochromatic
#132340 #223D6F #30579E #4573C6 #7496D5

Accessibility & contrast

On white

7.04
#30579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#30579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30579E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579E#FFFFFF#000000##FFFFFF
##30579E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#21549D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30579e;
/* rgb */ color: rgb(48, 87, 158);
/* oklch */ color: oklch(46.6% 0.124 261.3);
Tailwind
colors: {
  custom: {
    50: '#7585bb',
    500: '#30579e',
    950: '#000000',
  },
}
SCSS
$custom: #30579e;
$custom-light: #7585bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30579e",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 218.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.12352,
    "h": 261.3
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#30579E
secondary
#BDA06D
accent
#A94BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #30579E

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

Preview Lab → · Contrast checker → · Palette generator →

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