#304672#304672

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

Color values

HEX#304672
RGBrgb(48, 70, 114)
HSLhsl(220, 41%, 32%)
HSVhsv(220, 58%, 45%)
CMYKcmyk(57.9%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.97, 5.75, -27.97)
CIE-LCHlch(29.97, 28.55, 281.63°)
OKLaboklab(39.81% -0.0096 -0.0791)
OKLCHoklch(39.81% 0.08 263.1)
XYZxyz(6.4453, 6.2231, 16.7779)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304672 #725C30
analogous
#306772 #304672 #3B3072
triadic
#304672 #723046 #467230
tetradic
#304672 #723067 #725C30 #30723B
square
#304672 #723067 #725C30 #30723B
split-complementary
#304672 #723B30 #677230
monochromatic
#0C111C #1E2C47 #304672 #42609D #607FBC

Accessibility & contrast

On white

9.35
#304672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304672
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304672#FFFFFF#000000##FFFFFF
##3046721.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#085056
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304672;
/* rgb */ color: rgb(48, 70, 114);
/* oklch */ color: oklch(39.8% 0.080 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e799b',
    500: '#304672',
    950: '#000000',
  },
}
SCSS
$custom: #304672;
$custom-light: #6e799b;
$custom-dark: #000000;
JSON
{
  "hex": "#304672",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 220,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39811,
    "c": 0.07971,
    "h": 263.1
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#304672
secondary
#A38B5B
accent
#A857D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #304672

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

Preview Lab → · Contrast checker → · Palette generator →

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