#30477D#30477D

#30477D is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.095 H 265.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#30477D
RGBrgb(48, 71, 125)
HSLhsl(222, 45%, 34%)
HSVhsv(222, 62%, 49%)
CMYKcmyk(61.6%, 43.2%, 0%, 51%)
CIE-LABlab(30.91, 9.08, -33.36)
CIE-LCHlch(30.91, 34.58, 285.22°)
OKLaboklab(40.75% -0.0082 -0.0949)
OKLCHoklch(40.75% 0.095 265.1)
XYZxyz(7.1726, 6.6149, 20.2969)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30477D #7D6630
analogous
#306E7D #30477D #40307D
triadic
#30477D #7D3047 #477D30
tetradic
#30477D #7D306E #7D6630 #307D40
square
#30477D #7D306E #7D6630 #307D40
split-complementary
#30477D #7D4030 #6E7D30
monochromatic
#0E1525 #1F2E51 #30477D #4160A9 #6480C3

Accessibility & contrast

On white

9.04
#30477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#30477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30477D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30477D#FFFFFF#000000##FFFFFF
##30477D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#25467C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30477d;
/* rgb */ color: rgb(48, 71, 125);
/* oklch */ color: oklch(40.8% 0.095 265.1);
Tailwind
colors: {
  custom: {
    50: '#7079a3',
    500: '#30477d',
    950: '#000000',
  },
}
SCSS
$custom: #30477d;
$custom-light: #7079a3;
$custom-dark: #000000;
JSON
{
  "hex": "#30477d",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 222.078,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.09525,
    "h": 265.1
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#30477D
secondary
#AB945E
accent
#AE54D4
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30477D

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

Preview Lab → · Contrast checker → · Palette generator →

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