#302A96#302A96

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

Color values

HEX#302A96
RGBrgb(48, 42, 150)
HSLhsl(243, 56%, 38%)
HSVhsv(243, 72%, 59%)
CMYKcmyk(68%, 72%, 0%, 41.2%)
CIE-LABlab(25.22, 37.28, -58.08)
CIE-LCHlch(25.22, 69.02, 302.69°)
OKLaboklab(37.12% 0.0198 -0.1677)
OKLCHoklch(37.12% 0.169 276.7)
XYZxyz(7.5501, 4.4857, 29.3162)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A96 #90962A
analogous
#2A5A96 #302A96 #662A96
triadic
#302A96 #96302A #2A9630
tetradic
#302A96 #962A5A #90962A #2A9666
square
#302A96 #962A5A #90962A #2A9666
split-complementary
#302A96 #96662A #5A962A
monochromatic
#110F36 #211D66 #302A96 #3F37C6 #6C66D4

Accessibility & contrast

On white

11.07
#302A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#302A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A96
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A96#FFFFFF#000000##FFFFFF
##302A961.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #302a96;
/* rgb */ color: rgb(48, 42, 150);
/* oklch */ color: oklch(37.1% 0.169 276.7);
Tailwind
colors: {
  custom: {
    50: '#7765b6',
    500: '#302a96',
    950: '#000000',
  },
}
SCSS
$custom: #302a96;
$custom-light: #7765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#302a96",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 243.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37117,
    "c": 0.16892,
    "h": 276.7
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#302A96
secondary
#B5BA61
accent
#E048D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #302A96

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

Preview Lab → · Contrast checker → · Palette generator →

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