#30579F#30579F

#30579F is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.125 H 261.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#30579F
RGBrgb(48, 87, 159)
HSLhsl(219, 54%, 41%)
HSVhsv(219, 70%, 62%)
CMYKcmyk(69.8%, 45.3%, 0%, 37.6%)
CIE-LABlab(37.75, 11.13, -43.21)
CIE-LCHlch(37.75, 44.62, 284.44°)
OKLaboklab(46.69% -0.0185 -0.1236)
OKLCHoklch(46.69% 0.125 261.5)
XYZxyz(10.8829, 9.9469, 34.1406)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579F #9F7830
analogous
#308E9F #30579F #40309F
triadic
#30579F #9F3057 #579F30
tetradic
#30579F #9F308E #9F7830 #309F40
square
#30579F #9F308E #9F7830 #309F40
split-complementary
#30579F #9F4030 #8E9F30
monochromatic
#142441 #223D70 #30579F #4573C7 #7496D5

Accessibility & contrast

On white

7.02
#30579F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#30579F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30579F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579F#FFFFFF#000000##FFFFFF
##30579F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #30579f;
/* rgb */ color: rgb(48, 87, 159);
/* oklch */ color: oklch(46.7% 0.125 261.5);
Tailwind
colors: {
  custom: {
    50: '#7685bc',
    500: '#30579f',
    950: '#000000',
  },
}
SCSS
$custom: #30579f;
$custom-light: #7685bc;
$custom-dark: #000000;
JSON
{
  "hex": "#30579f",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 218.919,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.12495,
    "h": 261.5
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#30579F
secondary
#BDA16E
accent
#AA4BDD
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #30579F

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

Preview Lab → · Contrast checker → · Palette generator →

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