#304676#304676

#304676 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.086 H 264.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#304676
RGBrgb(48, 70, 118)
HSLhsl(221, 42%, 33%)
HSVhsv(221, 59%, 46%)
CMYKcmyk(59.3%, 40.7%, 0%, 53.7%)
CIE-LABlab(30.20, 7.20, -30.12)
CIE-LCHlch(30.20, 30.97, 283.43°)
OKLaboklab(40.06% -0.0086 -0.0854)
OKLCHoklch(40.06% 0.086 264.3)
XYZxyz(6.6780, 6.3162, 18.0033)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304676 #766030
analogous
#306976 #304676 #3D3076
triadic
#304676 #763046 #467630
tetradic
#304676 #763069 #766030 #30763D
square
#304676 #763069 #766030 #30763D
split-complementary
#304676 #763D30 #697630
monochromatic
#0D121F #1E2C4A #304676 #4260A2 #617FBF

Accessibility & contrast

On white

9.28
#304676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#304676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304676
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304676#FFFFFF#000000##FFFFFF
##3046761.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#294475
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304676;
/* rgb */ color: rgb(48, 70, 118);
/* oklch */ color: oklch(40.1% 0.086 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e799e',
    500: '#304676',
    950: '#000000',
  },
}
SCSS
$custom: #304676;
$custom-light: #6e799e;
$custom-dark: #000000;
JSON
{
  "hex": "#304676",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 118
  },
  "hsl": {
    "h": 221.143,
    "s": 42.169,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.08586,
    "h": 264.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#304676
secondary
#A68F5C
accent
#AB56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #304676

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

Preview Lab → · Contrast checker → · Palette generator →

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