#302592#302592

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

Color values

HEX#302592
RGBrgb(48, 37, 146)
HSLhsl(246, 60%, 36%)
HSVhsv(246, 75%, 57%)
CMYKcmyk(67.1%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.76, 38.88, -58.02)
CIE-LCHlch(23.76, 69.84, 303.83°)
OKLaboklab(35.96% 0.024 -0.1675)
OKLCHoklch(35.96% 0.169 278.1)
XYZxyz(7.0671, 4.0262, 27.5933)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302592 #879225
analogous
#255092 #302592 #662592
triadic
#302592 #923025 #259230
tetradic
#302592 #922550 #879225 #259266
square
#302592 #922550 #879225 #259266
split-complementary
#302592 #926625 #509225
monochromatic
#100C30 #201961 #302592 #4031C3 #685CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302592#FFFFFF#000000##FFFFFF
##3025921.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)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #302592;
/* rgb */ color: rgb(48, 37, 146);
/* oklch */ color: oklch(36.0% 0.169 278.1);
Tailwind
colors: {
  custom: {
    50: '#7661b3',
    500: '#302592',
    950: '#000000',
  },
}
SCSS
$custom: #302592;
$custom-light: #7661b3;
$custom-dark: #000000;
JSON
{
  "hex": "#302592",
  "rgb": {
    "r": 48,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 246.055,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35956,
    "c": 0.16923,
    "h": 278.1
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#302592
secondary
#B1BA58
accent
#E345D3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302592

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

Preview Lab → · Contrast checker → · Palette generator →

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