#302986#302986

#302986 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.149 H 278.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#302986
RGBrgb(48, 41, 134)
HSLhsl(245, 53%, 34%)
HSVhsv(245, 69%, 53%)
CMYKcmyk(64.2%, 69.4%, 0%, 47.5%)
CIE-LABlab(23.46, 32.43, -51.04)
CIE-LCHlch(23.46, 60.47, 302.43°)
OKLaboklab(35.38% 0.0231 -0.1471)
OKLCHoklch(35.38% 0.149 278.9)
XYZxyz(6.3136, 3.9350, 22.9765)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302986 #7F8629
analogous
#295186 #302986 #5F2986
triadic
#302986 #863029 #298630
tetradic
#302986 #862951 #7F8629 #29865F
square
#302986 #862951 #7F8629 #29865F
split-complementary
#302986 #865F29 #518629
monochromatic
#0E0C28 #1F1B57 #302986 #4137B5 #655CCD

Accessibility & contrast

On white

11.75
#302986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#302986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302986
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302986#FFFFFF#000000##FFFFFF
##3029861.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #302986;
/* rgb */ color: rgb(48, 41, 134);
/* oklch */ color: oklch(35.4% 0.149 278.9);
Tailwind
colors: {
  custom: {
    50: '#7363aa',
    500: '#302986',
    950: '#000000',
  },
}
SCSS
$custom: #302986;
$custom-light: #7363aa;
$custom-dark: #000000;
JSON
{
  "hex": "#302986",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 244.516,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35382,
    "c": 0.14896,
    "h": 278.9
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#302986
secondary
#ACB358
accent
#DD4BD2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #302986

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

Preview Lab → · Contrast checker → · Palette generator →

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