#303683#303683

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

Color values

HEX#303683
RGBrgb(48, 54, 131)
HSLhsl(236, 46%, 35%)
HSVhsv(236, 63%, 51%)
CMYKcmyk(63.4%, 58.8%, 0%, 48.6%)
CIE-LABlab(26.46, 22.83, -44.27)
CIE-LCHlch(26.46, 49.81, 297.29°)
OKLaboklab(37.51% 0.0112 -0.1272)
OKLCHoklch(37.51% 0.128 275)
XYZxyz(6.6335, 4.9049, 22.0655)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303683 #837D30
analogous
#305F83 #303683 #543083
triadic
#303683 #833036 #368330
tetradic
#303683 #83305F #837D30 #308354
square
#303683 #83305F #837D30 #308354
split-complementary
#303683 #835430 #5F8330
monochromatic
#0F1129 #202456 #303683 #4048B0 #666DC7

Accessibility & contrast

On white

10.60
#303683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#303683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303683
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303683#FFFFFF#000000##FFFFFF
##3036831.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #303683;
/* rgb */ color: rgb(48, 54, 131);
/* oklch */ color: oklch(37.5% 0.128 275.0);
Tailwind
colors: {
  custom: {
    50: '#726da8',
    500: '#303683',
    950: '#000000',
  },
}
SCSS
$custom: #303683;
$custom-light: #726da8;
$custom-dark: #000000;
JSON
{
  "hex": "#303683",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 235.663,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37508,
    "c": 0.12765,
    "h": 275
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#303683
secondary
#AEA961
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #303683

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

Preview Lab → · Contrast checker → · Palette generator →

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