#304367#304367

#304367 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.066 H 262.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#304367
RGBrgb(48, 67, 103)
HSLhsl(219, 36%, 30%)
HSVhsv(219, 53%, 40%)
CMYKcmyk(53.4%, 35%, 0%, 59.6%)
CIE-LABlab(28.44, 3.87, -23.40)
CIE-LCHlch(28.44, 23.71, 279.39°)
OKLaboklab(38.42% -0.0087 -0.0658)
OKLCHoklch(38.42% 0.066 262.5)
XYZxyz(5.6734, 5.6216, 13.6154)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304367 #675430
analogous
#305F67 #304367 #393067
triadic
#304367 #673043 #436730
tetradic
#304367 #67305F #675430 #306739
square
#304367 #67305F #675430 #306739
split-complementary
#304367 #673930 #5F6730
monochromatic
#0A0E15 #1D283D #304367 #435E91 #5E7BB4

Accessibility & contrast

On white

9.89
#304367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#304367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304367
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304367#FFFFFF#000000##FFFFFF
##3043671.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354669
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#174B50
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304367;
/* rgb */ color: rgb(48, 67, 103);
/* oklch */ color: oklch(38.4% 0.066 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c7692',
    500: '#304367',
    950: '#000000',
  },
}
SCSS
$custom: #304367;
$custom-light: #6c7692;
$custom-dark: #000000;
JSON
{
  "hex": "#304367",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 103
  },
  "hsl": {
    "h": 219.273,
    "s": 36.424,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.06641,
    "h": 262.5
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#304367
secondary
#98835A
accent
#A55BCC
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #304367

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

Preview Lab → · Contrast checker → · Palette generator →

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