#30477C#30477C

#30477C is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.094 H 264.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#30477C
RGBrgb(48, 71, 124)
HSLhsl(222, 44%, 34%)
HSVhsv(222, 61%, 49%)
CMYKcmyk(61.3%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.85, 8.71, -32.84)
CIE-LCHlch(30.85, 33.97, 284.86°)
OKLaboklab(40.69% -0.0084 -0.0934)
OKLCHoklch(40.69% 0.094 264.9)
XYZxyz(7.1090, 6.5895, 19.9621)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30477C #7C6530
analogous
#306D7C #30477C #3F307C
triadic
#30477C #7C3047 #477C30
tetradic
#30477C #7C306D #7C6530 #307C3F
square
#30477C #7C306D #7C6530 #307C3F
split-complementary
#30477C #7C3F30 #6D7C30
monochromatic
#0E1424 #1F2E50 #30477C #4160A8 #6480C3

Accessibility & contrast

On white

9.06
#30477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30477C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30477C#FFFFFF#000000##FFFFFF
##30477C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30477c;
/* rgb */ color: rgb(48, 71, 124);
/* oklch */ color: oklch(40.7% 0.094 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f79a2',
    500: '#30477c',
    950: '#000000',
  },
}
SCSS
$custom: #30477c;
$custom-light: #6f79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#30477c",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 221.842,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.09374,
    "h": 264.9
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#30477C
secondary
#AA935E
accent
#AD54D4
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30477C

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

Preview Lab → · Contrast checker → · Palette generator →

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