#302192#302192

#302192 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.173 H 278.8°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#302192
RGBrgb(48, 33, 146)
HSLhsl(248, 63%, 35%)
HSVhsv(248, 77%, 57%)
CMYKcmyk(67.1%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.97, 41.11, -59.32)
CIE-LCHlch(22.97, 72.17, 304.73°)
OKLaboklab(35.4% 0.0265 -0.1713)
OKLCHoklch(35.4% 0.173 278.8)
XYZxyz(6.9494, 3.7908, 27.5540)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302192 #839221
analogous
#214A92 #302192 #692192
triadic
#302192 #923021 #219230
tetradic
#302192 #92214A #839221 #219269
square
#302192 #92214A #839221 #219269
split-complementary
#302192 #926921 #4A9221
monochromatic
#0F0A2E #201660 #302192 #402CC4 #6655D9

Accessibility & contrast

On white

11.94
#302192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#302192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302192
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302192#FFFFFF#000000##FFFFFF
##3021921.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302192;
/* rgb */ color: rgb(48, 33, 146);
/* oklch */ color: oklch(35.4% 0.173 278.8);
Tailwind
colors: {
  custom: {
    50: '#775fb3',
    500: '#302192',
    950: '#000000',
  },
}
SCSS
$custom: #302192;
$custom-light: #775fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#302192",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 247.965,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.17333,
    "h": 278.8
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#302192
secondary
#AEBC53
accent
#E642D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302192

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

Preview Lab → · Contrast checker → · Palette generator →

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