#30478D#30478D

#30478D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.9% C 0.119 H 267.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#30478D
RGBrgb(48, 71, 141)
HSLhsl(225, 49%, 37%)
HSVhsv(225, 66%, 55%)
CMYKcmyk(66%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.94, 15.01, -41.62)
CIE-LCHlch(31.94, 44.24, 289.83°)
OKLaboklab(41.87% -0.0054 -0.1192)
OKLCHoklch(41.87% 0.119 267.4)
XYZxyz(8.2782, 7.0572, 26.1201)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30478D #8D7630
analogous
#30768D #30478D #48308D
triadic
#30478D #8D3047 #478D30
tetradic
#30478D #8D3076 #8D7630 #308D48
square
#30478D #8D3076 #8D7630 #308D48
split-complementary
#30478D #8D4830 #768D30
monochromatic
#111932 #20305F #30478D #405EBB #6B83CD

Accessibility & contrast

On white

8.71
#30478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#30478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30478D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30478D#FFFFFF#000000##FFFFFF
##30478D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30478d;
/* rgb */ color: rgb(48, 71, 141);
/* oklch */ color: oklch(41.9% 0.119 267.4);
Tailwind
colors: {
  custom: {
    50: '#7379af',
    500: '#30478d',
    950: '#000000',
  },
}
SCSS
$custom: #30478d;
$custom-light: #7379af;
$custom-dark: #000000;
JSON
{
  "hex": "#30478d",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 225.161,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.11928,
    "h": 267.4
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#30478D
secondary
#B4A065
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30478D

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

Preview Lab → · Contrast checker → · Palette generator →

#30478D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva