#302190#302190

#302190 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.171 H 279.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#302190
RGBrgb(48, 33, 144)
HSLhsl(248, 63%, 35%)
HSVhsv(248, 77%, 56%)
CMYKcmyk(66.7%, 77.1%, 0%, 43.5%)
CIE-LABlab(22.76, 40.47, -58.43)
CIE-LCHlch(22.76, 71.08, 304.71°)
OKLaboklab(35.19% 0.027 -0.1687)
OKLCHoklch(35.19% 0.171 279.1)
XYZxyz(6.7952, 3.7292, 26.7419)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302190 #819021
analogous
#214A90 #302190 #682190
triadic
#302190 #903021 #219030
tetradic
#302190 #90214A #819021 #219068
square
#302190 #90214A #819021 #219068
split-complementary
#302190 #906821 #4A9021
monochromatic
#0F0A2C #1F165E #302190 #412CC2 #6654D8

Accessibility & contrast

On white

12.03
#302190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#302190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302190
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302190#FFFFFF#000000##FFFFFF
##3021901.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #302190;
/* rgb */ color: rgb(48, 33, 144);
/* oklch */ color: oklch(35.2% 0.171 279.1);
Tailwind
colors: {
  custom: {
    50: '#765fb2',
    500: '#302190',
    950: '#000000',
  },
}
SCSS
$custom: #302190;
$custom-light: #765fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#302190",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 248.108,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.17085,
    "h": 279.1
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #302190

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

Preview Lab → · Contrast checker → · Palette generator →

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