#303582#303582

#303582 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.128 H 275.5°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#303582
RGBrgb(48, 53, 130)
HSLhsl(236, 46%, 35%)
HSVhsv(236, 63%, 51%)
CMYKcmyk(63.1%, 59.2%, 0%, 49%)
CIE-LABlab(26.12, 23.15, -44.20)
CIE-LCHlch(26.12, 49.89, 297.64°)
OKLaboklab(37.23% 0.0122 -0.127)
OKLCHoklch(37.23% 0.128 275.5)
XYZxyz(6.5200, 4.7858, 21.6949)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303582 #827D30
analogous
#305E82 #303582 #543082
triadic
#303582 #823035 #358230
tetradic
#303582 #82305E #827D30 #308254
square
#303582 #82305E #827D30 #308254
split-complementary
#303582 #825430 #5E8230
monochromatic
#0F1129 #1F2355 #303582 #4147AF #666CC6

Accessibility & contrast

On white

10.73
#303582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#303582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303582
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303582#FFFFFF#000000##FFFFFF
##3035821.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #303582;
/* rgb */ color: rgb(48, 53, 130);
/* oklch */ color: oklch(37.2% 0.128 275.5);
Tailwind
colors: {
  custom: {
    50: '#716ca7',
    500: '#303582',
    950: '#000000',
  },
}
SCSS
$custom: #303582;
$custom-light: #716ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#303582",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 236.341,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37225,
    "c": 0.12758,
    "h": 275.5
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#303582
secondary
#AEA960
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #303582

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

Preview Lab → · Contrast checker → · Palette generator →

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