#302B95#302B95

#302B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.166 H 276.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#302B95
RGBrgb(48, 43, 149)
HSLhsl(243, 55%, 38%)
HSVhsv(243, 71%, 58%)
CMYKcmyk(67.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.34, 36.34, -57.27)
CIE-LCHlch(25.34, 67.82, 302.39°)
OKLaboklab(37.17% 0.0193 -0.1654)
OKLCHoklch(37.17% 0.166 276.7)
XYZxyz(7.5058, 4.5254, 28.9059)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B95 #90952B
analogous
#2B5B95 #302B95 #652B95
triadic
#302B95 #95302B #2B9530
tetradic
#302B95 #952B5B #90952B #2B9565
square
#302B95 #952B5B #90952B #2B9565
split-complementary
#302B95 #95652B #5B952B
monochromatic
#111036 #211D66 #302B95 #3F39C4 #6C67D3

Accessibility & contrast

On white

11.02
#302B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#302B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B95
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B95#FFFFFF#000000##FFFFFF
##302B951.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302b95;
/* rgb */ color: rgb(48, 43, 149);
/* oklch */ color: oklch(37.2% 0.166 276.7);
Tailwind
colors: {
  custom: {
    50: '#7665b5',
    500: '#302b95',
    950: '#000000',
  },
}
SCSS
$custom: #302b95;
$custom-light: #7665b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302b95",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 242.83,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37174,
    "c": 0.16649,
    "h": 276.7
  },
  "luminance": 0.04526
}

Semantic roles & 50–950 ramp

primary
#302B95
secondary
#B5BA62
accent
#DF49D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #302B95

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

Preview Lab → · Contrast checker → · Palette generator →

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