#303682#303682

#303682 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.126 H 275.1°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#303682
RGBrgb(48, 54, 130)
HSLhsl(236, 46%, 35%)
HSVhsv(236, 63%, 51%)
CMYKcmyk(63.1%, 58.5%, 0%, 49%)
CIE-LABlab(26.38, 22.47, -43.77)
CIE-LCHlch(26.38, 49.20, 297.18°)
OKLaboklab(37.43% 0.0112 -0.1257)
OKLCHoklch(37.43% 0.126 275.1)
XYZxyz(6.5660, 4.8779, 21.7103)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303682 #827C30
analogous
#305F82 #303682 #533082
triadic
#303682 #823036 #368230
tetradic
#303682 #82305F #827C30 #308253
square
#303682 #82305F #827C30 #308253
split-complementary
#303682 #825330 #5F8230
monochromatic
#0F1129 #1F2355 #303682 #4149AF #666DC6

Accessibility & contrast

On white

10.63
#303682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303682
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303682#FFFFFF#000000##FFFFFF
##3036821.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004285
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #303682;
/* rgb */ color: rgb(48, 54, 130);
/* oklch */ color: oklch(37.4% 0.126 275.1);
Tailwind
colors: {
  custom: {
    50: '#716da7',
    500: '#303682',
    950: '#000000',
  },
}
SCSS
$custom: #303682;
$custom-light: #716da7;
$custom-dark: #000000;
JSON
{
  "hex": "#303682",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 130
  },
  "hsl": {
    "h": 235.61,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37425,
    "c": 0.1262,
    "h": 275.1
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#303682
secondary
#AEA860
accent
#CC52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #303682

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

Preview Lab → · Contrast checker → · Palette generator →

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