#30476A#30476A

#30476A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.6% C 0.066 H 258.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#30476A
RGBrgb(48, 71, 106)
HSLhsl(216, 38%, 30%)
HSVhsv(216, 55%, 42%)
CMYKcmyk(54.7%, 33%, 0%, 58.4%)
CIE-LABlab(29.85, 2.26, -23.09)
CIE-LCHlch(29.85, 23.20, 275.59°)
OKLaboklab(39.58% -0.0131 -0.0649)
OKLCHoklch(39.58% 0.066 258.6)
XYZxyz(6.0728, 6.1750, 14.5048)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30476A #6A5330
analogous
#30646A #30476A #36306A
triadic
#30476A #6A3047 #476A30
tetradic
#30476A #6A3064 #6A5330 #306A36
square
#30476A #6A3064 #6A5330 #306A36
split-complementary
#30476A #6A3630 #646A30
monochromatic
#0A0F16 #1D2B40 #30476A #436394 #5E81B6

Accessibility & contrast

On white

9.40
#30476A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#30476A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30476A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30476A#FFFFFF#000000##FFFFFF
##30476A1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496B
Deuteranopia (green-blind)
#324469
Tritanopia (blue-blind)
#134F53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #30476a;
/* rgb */ color: rgb(48, 71, 106);
/* oklch */ color: oklch(39.6% 0.066 258.6);
Tailwind
colors: {
  custom: {
    50: '#6c7a95',
    500: '#30476a',
    950: '#000000',
  },
}
SCSS
$custom: #30476a;
$custom-light: #6c7a95;
$custom-dark: #000000;
JSON
{
  "hex": "#30476a",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 216.207,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.06625,
    "h": 258.6
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#30476A
secondary
#9B825A
accent
#A05ACE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #30476A

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

Preview Lab → · Contrast checker → · Palette generator →

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