#303684#303684

#303684 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.129 H 275.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#303684
RGBrgb(48, 54, 132)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 52%)
CMYKcmyk(63.6%, 59.1%, 0%, 48.2%)
CIE-LABlab(26.54, 23.20, -44.76)
CIE-LCHlch(26.54, 50.42, 297.39°)
OKLaboklab(37.59% 0.0112 -0.1286)
OKLCHoklch(37.59% 0.129 275)
XYZxyz(6.7016, 4.9321, 22.4242)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303684 #847E30
analogous
#306084 #303684 #543084
triadic
#303684 #843036 #368430
tetradic
#303684 #843060 #847E30 #308454
square
#303684 #843060 #847E30 #308454
split-complementary
#303684 #845430 #608430
monochromatic
#0F112A #202457 #303684 #4048B1 #676EC8

Accessibility & contrast

On white

10.57
#303684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#303684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303684
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303684#FFFFFF#000000##FFFFFF
##3036841.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303684;
/* rgb */ color: rgb(48, 54, 132);
/* oklch */ color: oklch(37.6% 0.129 275.0);
Tailwind
colors: {
  custom: {
    50: '#726da8',
    500: '#303684',
    950: '#000000',
  },
}
SCSS
$custom: #303684;
$custom-light: #726da8;
$custom-dark: #000000;
JSON
{
  "hex": "#303684",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 235.714,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.12912,
    "h": 275
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#303684
secondary
#AFA961
accent
#CD51D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303684

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

Preview Lab → · Contrast checker → · Palette generator →

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