#304677#304677

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

Color values

HEX#304677
RGBrgb(48, 70, 119)
HSLhsl(221, 43%, 33%)
HSVhsv(221, 60%, 47%)
CMYKcmyk(59.7%, 41.2%, 0%, 53.3%)
CIE-LABlab(30.25, 7.56, -30.66)
CIE-LCHlch(30.25, 31.58, 283.85°)
OKLaboklab(40.13% -0.0083 -0.087)
OKLCHoklch(40.13% 0.087 264.5)
XYZxyz(6.7377, 6.3401, 18.3179)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304677 #776130
analogous
#306A77 #304677 #3D3077
triadic
#304677 #773046 #467730
tetradic
#304677 #77306A #776130 #30773D
square
#304677 #77306A #776130 #30773D
split-complementary
#304677 #773D30 #6A7730
monochromatic
#0D1320 #1E2C4B #304677 #4260A3 #627FC0

Accessibility & contrast

On white

9.26
#304677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#304677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304677
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304677#FFFFFF#000000##FFFFFF
##3046771.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B79
Deuteranopia (green-blind)
#284476
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304677;
/* rgb */ color: rgb(48, 70, 119);
/* oklch */ color: oklch(40.1% 0.087 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f799e',
    500: '#304677',
    950: '#000000',
  },
}
SCSS
$custom: #304677;
$custom-light: #6f799e;
$custom-dark: #000000;
JSON
{
  "hex": "#304677",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 119
  },
  "hsl": {
    "h": 221.408,
    "s": 42.515,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.08739,
    "h": 264.5
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#304677
secondary
#A7905C
accent
#AC55D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #304677

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

Preview Lab → · Contrast checker → · Palette generator →

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