#304573#304573

#304573 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.083 H 264.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#304573
RGBrgb(48, 69, 115)
HSLhsl(221, 41%, 32%)
HSVhsv(221, 58%, 45%)
CMYKcmyk(58.3%, 40%, 0%, 54.9%)
CIE-LABlab(29.72, 6.78, -28.99)
CIE-LCHlch(29.72, 29.78, 283.17°)
OKLaboklab(39.64% -0.008 -0.0821)
OKLCHoklch(39.64% 0.083 264.4)
XYZxyz(6.4405, 6.1219, 17.0586)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304573 #735E30
analogous
#306773 #304573 #3D3073
triadic
#304573 #733045 #457330
tetradic
#304573 #733067 #735E30 #30733D
square
#304573 #733067 #735E30 #30733D
split-complementary
#304573 #733D30 #677330
monochromatic
#0C111D #1E2B48 #304573 #425F9E #617DBD

Accessibility & contrast

On white

9.44
#304573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#304573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304573
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304573#FFFFFF#000000##FFFFFF
##3045731.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#2A4372
Tritanopia (blue-blind)
#064F56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304573;
/* rgb */ color: rgb(48, 69, 115);
/* oklch */ color: oklch(39.6% 0.083 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e789b',
    500: '#304573',
    950: '#000000',
  },
}
SCSS
$custom: #304573;
$custom-light: #6e789b;
$custom-dark: #000000;
JSON
{
  "hex": "#304573",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 221.194,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39636,
    "c": 0.08252,
    "h": 264.4
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#304573
secondary
#A48D5B
accent
#AB57D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #304573

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

Preview Lab → · Contrast checker → · Palette generator →

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