#304773#304773

#304773 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.080 H 262.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#304773
RGBrgb(48, 71, 115)
HSLhsl(219, 41%, 32%)
HSVhsv(219, 58%, 45%)
CMYKcmyk(58.3%, 38.3%, 0%, 54.9%)
CIE-LABlab(30.33, 5.45, -28.02)
CIE-LCHlch(30.33, 28.55, 281.00°)
OKLaboklab(40.11% -0.0105 -0.0793)
OKLCHoklch(40.11% 0.08 262.4)
XYZxyz(6.5656, 6.3721, 17.1003)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304773 #735C30
analogous
#306973 #304773 #3B3073
triadic
#304773 #733047 #477330
tetradic
#304773 #733069 #735C30 #30733B
square
#304773 #733069 #735C30 #30733B
split-complementary
#304773 #733B30 #697330
monochromatic
#0C121D #1E2C48 #304773 #42629E #6180BD

Accessibility & contrast

On white

9.23
#304773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#304773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304773
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304773#FFFFFF#000000##FFFFFF
##3047731.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#055157
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304773;
/* rgb */ color: rgb(48, 71, 115);
/* oklch */ color: oklch(40.1% 0.080 262.4);
Tailwind
colors: {
  custom: {
    50: '#6e799b',
    500: '#304773',
    950: '#000000',
  },
}
SCSS
$custom: #304773;
$custom-light: #6e799b;
$custom-dark: #000000;
JSON
{
  "hex": "#304773",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 219.403,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40112,
    "c": 0.07998,
    "h": 262.4
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#304773
secondary
#A48B5B
accent
#A757D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #304773

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

Preview Lab → · Contrast checker → · Palette generator →

#304773 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva