#30579D#30579D

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

Color values

HEX#30579D
RGBrgb(48, 87, 157)
HSLhsl(219, 53%, 40%)
HSVhsv(219, 69%, 62%)
CMYKcmyk(69.4%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.62, 10.38, -42.21)
CIE-LCHlch(37.62, 43.46, 283.81°)
OKLaboklab(46.56% -0.0189 -0.1206)
OKLCHoklch(46.56% 0.122 261.1)
XYZxyz(10.7108, 9.8780, 33.2339)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579D #9D7630
analogous
#308E9D #30579D #3F309D
triadic
#30579D #9D3057 #579D30
tetradic
#30579D #9D308E #9D7630 #309D3F
square
#30579D #9D308E #9D7630 #309D3F
split-complementary
#30579D #9D3F30 #8E9D30
monochromatic
#13233F #223D6E #30579D #4473C6 #7396D4

Accessibility & contrast

On white

7.06
#30579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30579D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579D#FFFFFF#000000##FFFFFF
##30579D1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#22549C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30579d;
/* rgb */ color: rgb(48, 87, 157);
/* oklch */ color: oklch(46.6% 0.122 261.1);
Tailwind
colors: {
  custom: {
    50: '#7585ba',
    500: '#30579d',
    950: '#000000',
  },
}
SCSS
$custom: #30579d;
$custom-light: #7585ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30579d",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 218.532,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.1221,
    "h": 261.1
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30579D

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

Preview Lab → · Contrast checker → · Palette generator →

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