#302499#302499

#302499 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.179 H 277.4°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#302499
RGBrgb(48, 36, 153)
HSLhsl(246, 62%, 37%)
HSVhsv(246, 76%, 60%)
CMYKcmyk(68.6%, 76.5%, 0%, 40%)
CIE-LABlab(24.29, 41.73, -61.45)
CIE-LCHlch(24.29, 74.28, 304.18°)
OKLaboklab(36.55% 0.023 -0.1776)
OKLCHoklch(36.55% 0.179 277.4)
XYZxyz(7.5977, 4.1894, 30.5391)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302499 #8D9924
analogous
#245399 #302499 #6B2499
triadic
#302499 #993024 #249930
tetradic
#302499 #992453 #8D9924 #24996B
square
#302499 #992453 #8D9924 #24996B
split-complementary
#302499 #996B24 #539924
monochromatic
#110D36 #201867 #302499 #4030CB #6B5ED9

Accessibility & contrast

On white

11.43
#302499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#302499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302499
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302499#FFFFFF#000000##FFFFFF
##3024991.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302499;
/* rgb */ color: rgb(48, 36, 153);
/* oklch */ color: oklch(36.5% 0.179 277.4);
Tailwind
colors: {
  custom: {
    50: '#7861b8',
    500: '#302499',
    950: '#000000',
  },
}
SCSS
$custom: #302499;
$custom-light: #7861b8;
$custom-dark: #000000;
JSON
{
  "hex": "#302499",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 246.154,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.17903,
    "h": 277.4
  },
  "luminance": 0.0419
}

Semantic roles & 50–950 ramp

primary
#302499
secondary
#B4BE5B
accent
#E543D4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #302499

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

Preview Lab → · Contrast checker → · Palette generator →

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