#30478C#30478C

#30478C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.118 H 267.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#30478C
RGBrgb(48, 71, 140)
HSLhsl(225, 49%, 37%)
HSVhsv(225, 66%, 55%)
CMYKcmyk(65.7%, 49.3%, 0%, 45.1%)
CIE-LABlab(31.87, 14.64, -41.11)
CIE-LCHlch(31.87, 43.64, 289.60°)
OKLaboklab(41.79% -0.0055 -0.1177)
OKLCHoklch(41.79% 0.118 267.3)
XYZxyz(8.2042, 7.0276, 25.7300)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30478C #8C7530
analogous
#30758C #30478C #47308C
triadic
#30478C #8C3047 #478C30
tetradic
#30478C #8C3075 #8C7530 #308C47
square
#30478C #8C3075 #8C7530 #308C47
split-complementary
#30478C #8C4730 #758C30
monochromatic
#111931 #20305E #30478C #405EBA #6A83CC

Accessibility & contrast

On white

8.73
#30478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30478C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30478C#FFFFFF#000000##FFFFFF
##30478C1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #30478c;
/* rgb */ color: rgb(48, 71, 140);
/* oklch */ color: oklch(41.8% 0.118 267.3);
Tailwind
colors: {
  custom: {
    50: '#7279ae',
    500: '#30478c',
    950: '#000000',
  },
}
SCSS
$custom: #30478c;
$custom-light: #7279ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30478c",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 225,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.1178,
    "h": 267.3
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#30478C
secondary
#B3A064
accent
#B64FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30478C

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

Preview Lab → · Contrast checker → · Palette generator →

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