#302C86#302C86

#302C86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.145 H 278.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#302C86
RGBrgb(48, 44, 134)
HSLhsl(243, 51%, 35%)
HSVhsv(243, 67%, 53%)
CMYKcmyk(64.2%, 67.2%, 0%, 47.5%)
CIE-LABlab(24.16, 30.52, -49.89)
CIE-LCHlch(24.16, 58.48, 301.46°)
OKLaboklab(35.89% 0.0206 -0.1437)
OKLCHoklch(35.89% 0.145 278.1)
XYZxyz(6.4213, 4.1505, 23.0124)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C86 #82862C
analogous
#2C5586 #302C86 #5D2C86
triadic
#302C86 #86302C #2C8630
tetradic
#302C86 #862C55 #82862C #2C865D
square
#302C86 #862C55 #82862C #2C865D
split-complementary
#302C86 #865D2C #55862C
monochromatic
#0F0E2A #1F1D58 #302C86 #413BB4 #6661CB

Accessibility & contrast

On white

11.47
#302C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#302C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C86
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C86#FFFFFF#000000##FFFFFF
##302C861.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302c86;
/* rgb */ color: rgb(48, 44, 134);
/* oklch */ color: oklch(35.9% 0.145 278.1);
Tailwind
colors: {
  custom: {
    50: '#7365aa',
    500: '#302c86',
    950: '#000000',
  },
}
SCSS
$custom: #302c86;
$custom-light: #7365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#302c86",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 242.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.14521,
    "h": 278.1
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#302C86
secondary
#AEB15C
accent
#DA4ED4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #302C86

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

Preview Lab → · Contrast checker → · Palette generator →

#302C86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva