#303282#303282

#303282 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.132 H 276.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#303282
RGBrgb(48, 50, 130)
HSLhsl(239, 46%, 35%)
HSVhsv(239, 63%, 51%)
CMYKcmyk(63.1%, 61.5%, 0%, 49%)
CIE-LABlab(25.32, 25.16, -45.49)
CIE-LCHlch(25.32, 51.98, 298.95°)
OKLaboklab(36.64% 0.0152 -0.1308)
OKLCHoklch(36.64% 0.132 276.6)
XYZxyz(6.3875, 4.5208, 21.6508)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303282 #828030
analogous
#305B82 #303282 #573082
triadic
#303282 #823032 #328230
tetradic
#303282 #82305B #828030 #308257
square
#303282 #82305B #828030 #308257
split-complementary
#303282 #825730 #5B8230
monochromatic
#0F1029 #1F2155 #303282 #4143AF #6668C6

Accessibility & contrast

On white

11.03
#303282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#303282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303282
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303282#FFFFFF#000000##FFFFFF
##3032821.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #303282;
/* rgb */ color: rgb(48, 50, 130);
/* oklch */ color: oklch(36.6% 0.132 276.6);
Tailwind
colors: {
  custom: {
    50: '#726aa7',
    500: '#303282',
    950: '#000000',
  },
}
SCSS
$custom: #303282;
$custom-light: #726aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#303282",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 238.537,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36638,
    "c": 0.13168,
    "h": 276.6
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#303282
secondary
#AEAC60
accent
#D352D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #303282

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

Preview Lab → · Contrast checker → · Palette generator →

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