#30476F#30476F

#30476F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.074 H 260.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#30476F
RGBrgb(48, 71, 111)
HSLhsl(218, 40%, 31%)
HSVhsv(218, 57%, 44%)
CMYKcmyk(56.8%, 36%, 0%, 56.5%)
CIE-LABlab(30.11, 4.02, -25.85)
CIE-LCHlch(30.11, 26.16, 278.84°)
OKLaboklab(39.87% -0.0116 -0.0729)
OKLCHoklch(39.87% 0.074 260.9)
XYZxyz(6.3404, 6.2821, 15.9143)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30476F #6F5830
analogous
#30666F #30476F #38306F
triadic
#30476F #6F3047 #476F30
tetradic
#30476F #6F3066 #6F5830 #306F38
square
#30476F #6F3066 #6F5830 #306F38
split-complementary
#30476F #6F3830 #666F30
monochromatic
#0B101A #1E2C44 #30476F #42629A #5F80BA

Accessibility & contrast

On white

9.31
#30476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#30476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30476F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30476F#FFFFFF#000000##FFFFFF
##30476F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#0D5056
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #30476f;
/* rgb */ color: rgb(48, 71, 111);
/* oklch */ color: oklch(39.9% 0.074 260.9);
Tailwind
colors: {
  custom: {
    50: '#6d7998',
    500: '#30476f',
    950: '#000000',
  },
}
SCSS
$custom: #30476f;
$custom-light: #6d7998;
$custom-dark: #000000;
JSON
{
  "hex": "#30476f",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 218.095,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.07385,
    "h": 260.9
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#30476F
secondary
#A0875B
accent
#A458D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #30476F

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

Preview Lab → · Contrast checker → · Palette generator →

#30476F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva