#302C91#302C91

#302C91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.160 H 276.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#302C91
RGBrgb(48, 44, 145)
HSLhsl(242, 53%, 37%)
HSVhsv(242, 70%, 57%)
CMYKcmyk(66.9%, 69.7%, 0%, 43.1%)
CIE-LABlab(25.18, 34.35, -55.06)
CIE-LCHlch(25.18, 64.90, 301.96°)
OKLaboklab(36.94% 0.0192 -0.1589)
OKLCHoklch(36.94% 0.16 276.9)
XYZxyz(7.2288, 4.4735, 27.2651)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C91 #8D912C
analogous
#2C5B91 #302C91 #632C91
triadic
#302C91 #91302C #2C9130
tetradic
#302C91 #912C5B #8D912C #2C9163
square
#302C91 #912C5B #8D912C #2C9163
split-complementary
#302C91 #91632C #5B912C
monochromatic
#111033 #201E62 #302C91 #403AC0 #6B67D1

Accessibility & contrast

On white

11.08
#302C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#302C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C91
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C91#FFFFFF#000000##FFFFFF
##302C911.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302c91;
/* rgb */ color: rgb(48, 44, 145);
/* oklch */ color: oklch(36.9% 0.160 276.9);
Tailwind
colors: {
  custom: {
    50: '#7566b2',
    500: '#302c91',
    950: '#000000',
  },
}
SCSS
$custom: #302c91;
$custom-light: #7566b2;
$custom-dark: #000000;
JSON
{
  "hex": "#302c91",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 242.376,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.16007,
    "h": 276.9
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#302C91
secondary
#B4B762
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #302C91

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

Preview Lab → · Contrast checker → · Palette generator →

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