#30479E#30479E

#30479E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.144 H 268.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#30479E
RGBrgb(48, 71, 158)
HSLhsl(227, 53%, 40%)
HSVhsv(227, 70%, 62%)
CMYKcmyk(69.6%, 55.1%, 0%, 38%)
CIE-LABlab(33.14, 21.37, -50.02)
CIE-LCHlch(33.14, 54.40, 293.14°)
OKLaboklab(43.16% -0.0037 -0.1439)
OKLCHoklch(43.16% 0.144 268.5)
XYZxyz(9.6416, 7.6025, 33.3004)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30479E #9E8730
analogous
#307E9E #30479E #50309E
triadic
#30479E #9E3047 #479E30
tetradic
#30479E #9E307E #9E8730 #309E50
square
#30479E #9E307E #9E8730 #309E50
split-complementary
#30479E #9E5030 #7E9E30
monochromatic
#131D40 #22326F #30479E #4560C6 #7488D5

Accessibility & contrast

On white

8.33
#30479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#30479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30479E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30479E#FFFFFF#000000##FFFFFF
##30479E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #30479e;
/* rgb */ color: rgb(48, 71, 158);
/* oklch */ color: oklch(43.2% 0.144 268.5);
Tailwind
colors: {
  custom: {
    50: '#7679bb',
    500: '#30479e',
    950: '#000000',
  },
}
SCSS
$custom: #30479e;
$custom-light: #7679bb;
$custom-dark: #000000;
JSON
{
  "hex": "#30479e",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 227.455,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43161,
    "c": 0.14394,
    "h": 268.5
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#30479E
secondary
#BDAC6D
accent
#BE4BDD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #30479E

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

Preview Lab → · Contrast checker → · Palette generator →

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