#302994#302994

#302994 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.167 H 277.2°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#302994
RGBrgb(48, 41, 148)
HSLhsl(244, 57%, 37%)
HSVhsv(244, 72%, 58%)
CMYKcmyk(67.6%, 72.3%, 0%, 42%)
CIE-LABlab(24.80, 37.20, -57.53)
CIE-LCHlch(24.80, 68.51, 302.89°)
OKLaboklab(36.76% 0.0209 -0.1661)
OKLCHoklch(36.76% 0.167 277.2)
XYZxyz(7.3554, 4.3517, 28.4636)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302994 #8D9429
analogous
#295894 #302994 #662994
triadic
#302994 #943029 #299430
tetradic
#302994 #942958 #8D9429 #299466
square
#302994 #942958 #8D9429 #299466
split-complementary
#302994 #946629 #589429
monochromatic
#110E34 #201C64 #302994 #4036C4 #6B63D4

Accessibility & contrast

On white

11.23
#302994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#302994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302994
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302994#FFFFFF#000000##FFFFFF
##3029941.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #302994;
/* rgb */ color: rgb(48, 41, 148);
/* oklch */ color: oklch(36.8% 0.167 277.2);
Tailwind
colors: {
  custom: {
    50: '#7664b4',
    500: '#302994',
    950: '#000000',
  },
}
SCSS
$custom: #302994;
$custom-light: #7664b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302994",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 243.925,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.16745,
    "h": 277.2
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#302994
secondary
#B4BA5F
accent
#E048D6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #302994

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

Preview Lab → · Contrast checker → · Palette generator →

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