#30579A#30579A

#30579A is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.118 H 260.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#30579A
RGBrgb(48, 87, 154)
HSLhsl(218, 52%, 40%)
HSVhsv(218, 69%, 60%)
CMYKcmyk(68.8%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.44, 9.25, -40.70)
CIE-LCHlch(37.44, 41.74, 282.81°)
OKLaboklab(46.36% -0.0195 -0.1162)
OKLCHoklch(46.36% 0.118 260.5)
XYZxyz(10.4578, 9.7768, 31.9016)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579A #9A7330
analogous
#308C9A #30579A #3E309A
triadic
#30579A #9A3057 #579A30
tetradic
#30579A #9A308C #9A7330 #309A3E
square
#30579A #9A308C #9A7330 #309A3E
split-complementary
#30579A #9A3E30 #8C9A30
monochromatic
#13223D #213D6B #30579A #4372C4 #7295D3

Accessibility & contrast

On white

7.11
#30579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#30579A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30579A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579A#FFFFFF#000000##FFFFFF
##30579A1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#265499
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30579a;
/* rgb */ color: rgb(48, 87, 154);
/* oklch */ color: oklch(46.4% 0.118 260.5);
Tailwind
colors: {
  custom: {
    50: '#7585b8',
    500: '#30579a',
    950: '#000000',
  },
}
SCSS
$custom: #30579a;
$custom-light: #7585b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30579a",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 217.925,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.11783,
    "h": 260.5
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#30579A
secondary
#BB9D6B
accent
#A74CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #30579A

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

Preview Lab → · Contrast checker → · Palette generator →

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