#302C85#302C85

#302C85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.144 H 278.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#302C85
RGBrgb(48, 44, 133)
HSLhsl(243, 50%, 35%)
HSVhsv(243, 67%, 52%)
CMYKcmyk(63.9%, 66.9%, 0%, 47.8%)
CIE-LABlab(24.07, 30.18, -49.41)
CIE-LCHlch(24.07, 57.89, 301.42°)
OKLaboklab(35.8% 0.0207 -0.1423)
OKLCHoklch(35.8% 0.144 278.3)
XYZxyz(6.3519, 4.1227, 22.6468)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C85 #81852C
analogous
#2C5485 #302C85 #5D2C85
triadic
#302C85 #85302C #2C8530
tetradic
#302C85 #852C54 #81852C #2C855D
square
#302C85 #852C54 #81852C #2C855D
split-complementary
#302C85 #855D2C #54852C
monochromatic
#0F0E29 #1F1D57 #302C85 #413BB3 #6661CB

Accessibility & contrast

On white

11.51
#302C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#302C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C85
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C85#FFFFFF#000000##FFFFFF
##302C851.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302c85;
/* rgb */ color: rgb(48, 44, 133);
/* oklch */ color: oklch(35.8% 0.144 278.3);
Tailwind
colors: {
  custom: {
    50: '#7365a9',
    500: '#302c85',
    950: '#000000',
  },
}
SCSS
$custom: #302c85;
$custom-light: #7365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#302c85",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 242.697,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35802,
    "c": 0.14383,
    "h": 278.3
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302C85

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

Preview Lab → · Contrast checker → · Palette generator →

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