#30479A#30479A

#30479A is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.138 H 268.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#30479A
RGBrgb(48, 71, 154)
HSLhsl(227, 52%, 40%)
HSVhsv(227, 69%, 60%)
CMYKcmyk(68.8%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.85, 19.88, -48.08)
CIE-LCHlch(32.85, 52.03, 292.46°)
OKLaboklab(42.85% -0.004 -0.1382)
OKLCHoklch(42.85% 0.138 268.4)
XYZxyz(9.3029, 7.4671, 31.5166)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30479A #9A8330
analogous
#307C9A #30479A #4E309A
triadic
#30479A #9A3047 #479A30
tetradic
#30479A #9A307C #9A8330 #309A4E
square
#30479A #9A307C #9A8330 #309A4E
split-complementary
#30479A #9A4E30 #7C9A30
monochromatic
#131C3D #21316B #30479A #435FC4 #7287D3

Accessibility & contrast

On white

8.42
#30479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#30479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30479A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30479A#FFFFFF#000000##FFFFFF
##30479A1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F529D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #30479a;
/* rgb */ color: rgb(48, 71, 154);
/* oklch */ color: oklch(42.8% 0.138 268.4);
Tailwind
colors: {
  custom: {
    50: '#7579b8',
    500: '#30479a',
    950: '#000000',
  },
}
SCSS
$custom: #30479a;
$custom-light: #7579b8;
$custom-dark: #000000;
JSON
{
  "hex": "#30479a",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 226.981,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.13823,
    "h": 268.4
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#30479A
secondary
#BBA96B
accent
#BD4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #30479A

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

Preview Lab → · Contrast checker → · Palette generator →

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