#304673#304673

#304673 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.081 H 263.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#304673
RGBrgb(48, 70, 115)
HSLhsl(220, 41%, 32%)
HSVhsv(220, 58%, 45%)
CMYKcmyk(58.3%, 39.1%, 0%, 54.9%)
CIE-LABlab(30.02, 6.11, -28.51)
CIE-LCHlch(30.02, 29.16, 282.10°)
OKLaboklab(39.87% -0.0093 -0.0807)
OKLCHoklch(39.87% 0.081 263.4)
XYZxyz(6.5025, 6.2460, 17.0793)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304673 #735D30
analogous
#306773 #304673 #3C3073
triadic
#304673 #733046 #467330
tetradic
#304673 #733067 #735D30 #30733C
square
#304673 #733067 #735D30 #30733C
split-complementary
#304673 #733C30 #677330
monochromatic
#0C111D #1E2C48 #304673 #42609E #617FBD

Accessibility & contrast

On white

9.34
#304673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#304673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304673
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304673#FFFFFF#000000##FFFFFF
##3046731.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A75
Deuteranopia (green-blind)
#2B4472
Tritanopia (blue-blind)
#065057
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304673;
/* rgb */ color: rgb(48, 70, 115);
/* oklch */ color: oklch(39.9% 0.081 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e799b',
    500: '#304673',
    950: '#000000',
  },
}
SCSS
$custom: #304673;
$custom-light: #6e799b;
$custom-dark: #000000;
JSON
{
  "hex": "#304673",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 115
  },
  "hsl": {
    "h": 220.299,
    "s": 41.104,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.08124,
    "h": 263.4
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#304673
secondary
#A48C5B
accent
#A957D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #304673

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

Preview Lab → · Contrast checker → · Palette generator →

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