#30478E#30478E

#30478E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.121 H 267.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#30478E
RGBrgb(48, 71, 142)
HSLhsl(225, 49%, 37%)
HSVhsv(225, 66%, 56%)
CMYKcmyk(66.2%, 50%, 0%, 44.3%)
CIE-LABlab(32.00, 15.38, -42.13)
CIE-LCHlch(32.00, 44.85, 290.06°)
OKLaboklab(41.94% -0.0053 -0.1206)
OKLCHoklch(41.94% 0.121 267.5)
XYZxyz(8.3530, 7.0871, 26.5137)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30478E #8E7730
analogous
#30768E #30478E #48308E
triadic
#30478E #8E3047 #478E30
tetradic
#30478E #8E3076 #8E7730 #308E48
square
#30478E #8E3076 #8E7730 #308E48
split-complementary
#30478E #8E4830 #768E30
monochromatic
#111933 #213060 #30478E #3F5EBC #6B83CD

Accessibility & contrast

On white

8.69
#30478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#30478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30478E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30478E#FFFFFF#000000##FFFFFF
##30478E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30478e;
/* rgb */ color: rgb(48, 71, 142);
/* oklch */ color: oklch(41.9% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#7379af',
    500: '#30478e',
    950: '#000000',
  },
}
SCSS
$custom: #30478e;
$custom-light: #7379af;
$custom-dark: #000000;
JSON
{
  "hex": "#30478e",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 225.319,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.12077,
    "h": 267.5
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#30478E
secondary
#B4A165
accent
#B74FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #30478E

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

Preview Lab → · Contrast checker → · Palette generator →

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