#30579C#30579C

#30579C is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.121 H 260.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#30579C
RGBrgb(48, 87, 156)
HSLhsl(218, 53%, 40%)
HSVhsv(218, 69%, 61%)
CMYKcmyk(69.2%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.56, 10.00, -41.71)
CIE-LCHlch(37.56, 42.89, 283.48°)
OKLaboklab(46.49% -0.0191 -0.1192)
OKLCHoklch(46.49% 0.121 260.9)
XYZxyz(10.6257, 9.8440, 32.7861)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579C #9C7530
analogous
#308D9C #30579C #3F309C
triadic
#30579C #9C3057 #579C30
tetradic
#30579C #9C308D #9C7530 #309C3F
square
#30579C #9C308D #9C7530 #309C3F
split-complementary
#30579C #9C3F30 #8D9C30
monochromatic
#13233E #223D6D #30579C #4473C5 #7396D4

Accessibility & contrast

On white

7.07
#30579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#30579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30579C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579C#FFFFFF#000000##FFFFFF
##30579C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30579c;
/* rgb */ color: rgb(48, 87, 156);
/* oklch */ color: oklch(46.5% 0.121 260.9);
Tailwind
colors: {
  custom: {
    50: '#7585ba',
    500: '#30579c',
    950: '#000000',
  },
}
SCSS
$custom: #30579c;
$custom-light: #7585ba;
$custom-dark: #000000;
JSON
{
  "hex": "#30579c",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 218.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.12068,
    "h": 260.9
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#30579C
secondary
#BC9F6C
accent
#A84BDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #30579C

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

Preview Lab → · Contrast checker → · Palette generator →

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