#304572#304572

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

Color values

HEX#304572
RGBrgb(48, 69, 114)
HSLhsl(221, 41%, 32%)
HSVhsv(221, 58%, 45%)
CMYKcmyk(57.9%, 39.5%, 0%, 55.3%)
CIE-LABlab(29.66, 6.42, -28.45)
CIE-LCHlch(29.66, 29.17, 282.72°)
OKLaboklab(39.57% -0.0083 -0.0805)
OKLCHoklch(39.57% 0.081 264.1)
XYZxyz(6.3833, 6.0990, 16.7572)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304572 #725D30
analogous
#306672 #304572 #3C3072
triadic
#304572 #723045 #457230
tetradic
#304572 #723066 #725D30 #30723C
square
#304572 #723066 #725D30 #30723C
split-complementary
#304572 #723C30 #667230
monochromatic
#0C111C #1E2B47 #304572 #425F9D #607DBC

Accessibility & contrast

On white

9.46
#304572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304572
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304572#FFFFFF#000000##FFFFFF
##3045721.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#084F56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304572;
/* rgb */ color: rgb(48, 69, 114);
/* oklch */ color: oklch(39.6% 0.081 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e789b',
    500: '#304572',
    950: '#000000',
  },
}
SCSS
$custom: #304572;
$custom-light: #6e789b;
$custom-dark: #000000;
JSON
{
  "hex": "#304572",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 220.909,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39573,
    "c": 0.08098,
    "h": 264.1
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#304572
secondary
#A38C5B
accent
#AA57D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #304572

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

Preview Lab → · Contrast checker → · Palette generator →

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