#304682#304682

#304682 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.104 H 266.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#304682
RGBrgb(48, 70, 130)
HSLhsl(224, 46%, 35%)
HSVhsv(224, 63%, 51%)
CMYKcmyk(63.1%, 46.2%, 0%, 49%)
CIE-LABlab(30.93, 11.59, -36.45)
CIE-LCHlch(30.93, 38.25, 287.64°)
OKLaboklab(40.86% -0.006 -0.104)
OKLCHoklch(40.86% 0.104 266.7)
XYZxyz(7.4370, 6.6198, 22.0006)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304682 #826C30
analogous
#306F82 #304682 #433082
triadic
#304682 #823046 #468230
tetradic
#304682 #82306F #826C30 #308243
square
#304682 #82306F #826C30 #308243
split-complementary
#304682 #824330 #6F8230
monochromatic
#0F1629 #1F2E55 #304682 #415EAF #6680C6

Accessibility & contrast

On white

9.04
#304682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#304682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304682
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304682#FFFFFF#000000##FFFFFF
##3046821.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#1E4581
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #304682;
/* rgb */ color: rgb(48, 70, 130);
/* oklch */ color: oklch(40.9% 0.104 266.7);
Tailwind
colors: {
  custom: {
    50: '#7079a7',
    500: '#304682',
    950: '#000000',
  },
}
SCSS
$custom: #304682;
$custom-light: #7079a7;
$custom-dark: #000000;
JSON
{
  "hex": "#304682",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 223.902,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.10417,
    "h": 266.7
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#304682
secondary
#AE9960
accent
#B252D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #304682

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

Preview Lab → · Contrast checker → · Palette generator →

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