#304576#304576

#304576 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.087 H 265.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#304576
RGBrgb(48, 69, 118)
HSLhsl(222, 42%, 33%)
HSVhsv(222, 59%, 46%)
CMYKcmyk(59.3%, 41.5%, 0%, 53.7%)
CIE-LABlab(29.89, 7.87, -30.61)
CIE-LCHlch(29.89, 31.60, 284.42°)
OKLaboklab(39.83% -0.0073 -0.0868)
OKLCHoklch(39.83% 0.087 265.2)
XYZxyz(6.6160, 6.1921, 17.9826)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304576 #766130
analogous
#306876 #304576 #3E3076
triadic
#304576 #763045 #457630
tetradic
#304576 #763068 #766130 #30763E
square
#304576 #763068 #766130 #30763E
split-complementary
#304576 #763E30 #687630
monochromatic
#0D121F #1E2C4A #304576 #425EA2 #617EBF

Accessibility & contrast

On white

9.38
#304576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#304576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304576
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304576#FFFFFF#000000##FFFFFF
##3045761.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#284375
Tritanopia (blue-blind)
#015057
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304576;
/* rgb */ color: rgb(48, 69, 118);
/* oklch */ color: oklch(39.8% 0.087 265.2);
Tailwind
colors: {
  custom: {
    50: '#6e789e',
    500: '#304576',
    950: '#000000',
  },
}
SCSS
$custom: #304576;
$custom-light: #6e789e;
$custom-dark: #000000;
JSON
{
  "hex": "#304576",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 118
  },
  "hsl": {
    "h": 222,
    "s": 42.169,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.08716,
    "h": 265.2
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#304576
secondary
#A6905C
accent
#AD56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #304576

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

Preview Lab → · Contrast checker → · Palette generator →

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