#30477E#30477E

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

Color values

HEX#30477E
RGBrgb(48, 71, 126)
HSLhsl(222, 45%, 34%)
HSVhsv(222, 62%, 49%)
CMYKcmyk(61.9%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.97, 9.44, -33.89)
CIE-LCHlch(30.97, 35.18, 285.57°)
OKLaboklab(40.82% -0.008 -0.0964)
OKLCHoklch(40.82% 0.097 265.3)
XYZxyz(7.2368, 6.6406, 20.6350)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30477E #7E6730
analogous
#306E7E #30477E #40307E
triadic
#30477E #7E3047 #477E30
tetradic
#30477E #7E306E #7E6730 #307E40
square
#30477E #7E306E #7E6730 #307E40
split-complementary
#30477E #7E4030 #6E7E30
monochromatic
#0E1525 #1F2E52 #30477E #4160AA #6481C4

Accessibility & contrast

On white

9.02
#30477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#30477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30477E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30477E#FFFFFF#000000##FFFFFF
##30477E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#24467D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30477e;
/* rgb */ color: rgb(48, 71, 126);
/* oklch */ color: oklch(40.8% 0.097 265.3);
Tailwind
colors: {
  custom: {
    50: '#7079a4',
    500: '#30477e',
    950: '#000000',
  },
}
SCSS
$custom: #30477e;
$custom-light: #7079a4;
$custom-dark: #000000;
JSON
{
  "hex": "#30477e",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 222.308,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.09678,
    "h": 265.3
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#30477E
secondary
#AB955F
accent
#AE53D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #30477E

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

Preview Lab → · Contrast checker → · Palette generator →

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