#30477A#30477A

#30477A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.091 H 264.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#30477A
RGBrgb(48, 71, 122)
HSLhsl(221, 44%, 33%)
HSVhsv(221, 61%, 48%)
CMYKcmyk(60.7%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.73, 7.98, -31.78)
CIE-LCHlch(30.73, 32.76, 284.10°)
OKLaboklab(40.55% -0.0088 -0.0902)
OKLCHoklch(40.55% 0.091 264.4)
XYZxyz(6.9838, 6.5394, 19.3028)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30477A #7A6330
analogous
#306C7A #30477A #3E307A
triadic
#30477A #7A3047 #477A30
tetradic
#30477A #7A306C #7A6330 #307A3E
square
#30477A #7A306C #7A6330 #307A3E
split-complementary
#30477A #7A3E30 #6C7A30
monochromatic
#0D1422 #1F2D4E #30477A #4161A6 #6380C2

Accessibility & contrast

On white

9.10
#30477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#30477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30477A
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30477A#FFFFFF#000000##FFFFFF
##30477A1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30477a;
/* rgb */ color: rgb(48, 71, 122);
/* oklch */ color: oklch(40.6% 0.091 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f79a1',
    500: '#30477a',
    950: '#000000',
  },
}
SCSS
$custom: #30477a;
$custom-light: #6f79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#30477a",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 221.351,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40554,
    "c": 0.09068,
    "h": 264.4
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#30477A
secondary
#A9915D
accent
#AC55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #30477A

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

Preview Lab → · Contrast checker → · Palette generator →

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