#304372#304372

#304372 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.084 H 266.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#304372
RGBrgb(48, 67, 114)
HSLhsl(223, 41%, 32%)
HSVhsv(223, 58%, 45%)
CMYKcmyk(57.9%, 41.2%, 0%, 55.3%)
CIE-LABlab(29.05, 7.77, -29.42)
CIE-LCHlch(29.05, 30.43, 284.79°)
OKLaboklab(39.1% -0.0058 -0.0834)
OKLCHoklch(39.1% 0.084 266)
XYZxyz(6.2623, 5.8571, 16.7169)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304372 #725F30
analogous
#306472 #304372 #3E3072
triadic
#304372 #723043 #437230
tetradic
#304372 #723064 #725F30 #30723E
square
#304372 #723064 #725F30 #30723E
split-complementary
#304372 #723E30 #647230
monochromatic
#0C101C #1E2A47 #304372 #425C9D #607BBC

Accessibility & contrast

On white

9.67
#304372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304372
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304372#FFFFFF#000000##FFFFFF
##3043721.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#094D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304372;
/* rgb */ color: rgb(48, 67, 114);
/* oklch */ color: oklch(39.1% 0.084 266.0);
Tailwind
colors: {
  custom: {
    50: '#6e769b',
    500: '#304372',
    950: '#000000',
  },
}
SCSS
$custom: #304372;
$custom-light: #6e769b;
$custom-dark: #000000;
JSON
{
  "hex": "#304372",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 222.727,
    "s": 40.741,
    "l": 31.765
  },
  "oklch": {
    "l": 0.391,
    "c": 0.08361,
    "h": 266
  },
  "luminance": 0.05858
}

Semantic roles & 50–950 ramp

primary
#304372
secondary
#A38E5B
accent
#AE57D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #304372

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

Preview Lab → · Contrast checker → · Palette generator →

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