#30579B#30579B

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

Color values

HEX#30579B
RGBrgb(48, 87, 155)
HSLhsl(218, 53%, 40%)
HSVhsv(218, 69%, 61%)
CMYKcmyk(69%, 43.9%, 0%, 39.2%)
CIE-LABlab(37.50, 9.63, -41.20)
CIE-LCHlch(37.50, 42.31, 283.15°)
OKLaboklab(46.42% -0.0193 -0.1177)
OKLCHoklch(46.42% 0.119 260.7)
XYZxyz(10.5414, 9.8103, 32.3420)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30579B #9B7430
analogous
#308C9B #30579B #3F309B
triadic
#30579B #9B3057 #579B30
tetradic
#30579B #9B308C #9B7430 #309B3F
square
#30579B #9B308C #9B7430 #309B3F
split-complementary
#30579B #9B3F30 #8C9B30
monochromatic
#13233E #223D6C #30579B #4373C5 #7296D3

Accessibility & contrast

On white

7.09
#30579B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30579B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30579B#FFFFFF#000000##FFFFFF
##30579B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#25549A
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #30579b;
/* rgb */ color: rgb(48, 87, 155);
/* oklch */ color: oklch(46.4% 0.119 260.7);
Tailwind
colors: {
  custom: {
    50: '#7585b9',
    500: '#30579b',
    950: '#000000',
  },
}
SCSS
$custom: #30579b;
$custom-light: #7585b9;
$custom-dark: #000000;
JSON
{
  "hex": "#30579b",
  "rgb": {
    "r": 48,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 218.131,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.11926,
    "h": 260.7
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #30579B

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

Preview Lab → · Contrast checker → · Palette generator →

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