#302476#302476

#302476 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.133 H 282.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#302476
RGBrgb(48, 36, 118)
HSLhsl(249, 53%, 30%)
HSVhsv(249, 69%, 46%)
CMYKcmyk(59.3%, 69.5%, 0%, 53.7%)
CIE-LABlab(20.82, 30.12, -45.22)
CIE-LCHlch(20.82, 54.33, 303.66°)
OKLaboklab(33.03% 0.0299 -0.1301)
OKLCHoklch(33.03% 0.133 282.9)
XYZxyz(5.1188, 3.1978, 17.4835)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302476 #6A7624
analogous
#244176 #302476 #592476
triadic
#302476 #763024 #247630
tetradic
#302476 #762441 #6A7624 #247659
square
#302476 #762441 #6A7624 #247659
split-complementary
#302476 #765924 #417624
monochromatic
#0A0718 #1D1647 #302476 #4332A5 #5E4CC8

Accessibility & contrast

On white

12.81
#302476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#302476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302476
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302476#FFFFFF#000000##FFFFFF
##3024761.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#0B3949
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #302476;
/* rgb */ color: rgb(48, 36, 118);
/* oklch */ color: oklch(33.0% 0.133 282.9);
Tailwind
colors: {
  custom: {
    50: '#71609e',
    500: '#302476',
    950: '#000000',
  },
}
SCSS
$custom: #302476;
$custom-light: #71609e;
$custom-dark: #000000;
JSON
{
  "hex": "#302476",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 248.78,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.13348,
    "h": 282.9
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#302476
secondary
#9BA94D
accent
#DD4BC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #302476

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

Preview Lab → · Contrast checker → · Palette generator →

#302476 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva