#302494#302494

#302494 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.173 H 278.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#302494
RGBrgb(48, 36, 148)
HSLhsl(246, 61%, 36%)
HSVhsv(246, 76%, 58%)
CMYKcmyk(67.6%, 75.7%, 0%, 42%)
CIE-LABlab(23.76, 40.11, -59.24)
CIE-LCHlch(23.76, 71.54, 304.10°)
OKLaboklab(36.02% 0.0242 -0.1711)
OKLCHoklch(36.02% 0.173 278)
XYZxyz(7.1934, 4.0276, 28.4096)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302494 #889424
analogous
#245094 #302494 #682494
triadic
#302494 #943024 #249430
tetradic
#302494 #942450 #889424 #249468
square
#302494 #942450 #889424 #249468
split-complementary
#302494 #946824 #509424
monochromatic
#100C32 #201863 #302494 #4030C5 #695BD7

Accessibility & contrast

On white

11.63
#302494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#302494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302494
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302494#FFFFFF#000000##FFFFFF
##3024941.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302494;
/* rgb */ color: rgb(48, 36, 148);
/* oklch */ color: oklch(36.0% 0.173 278.0);
Tailwind
colors: {
  custom: {
    50: '#7761b5',
    500: '#302494',
    950: '#000000',
  },
}
SCSS
$custom: #302494;
$custom-light: #7761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#302494",
  "rgb": {
    "r": 48,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 246.429,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36022,
    "c": 0.17281,
    "h": 278
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#302494
secondary
#B1BC58
accent
#E444D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302494

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

Preview Lab → · Contrast checker → · Palette generator →

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