#302185#302185

#302185 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.157 H 280.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#302185
RGBrgb(48, 33, 133)
HSLhsl(249, 60%, 33%)
HSVhsv(249, 75%, 52%)
CMYKcmyk(63.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(21.61, 36.91, -53.44)
CIE-LCHlch(21.61, 64.95, 304.63°)
OKLaboklab(34.03% 0.0296 -0.1541)
OKLCHoklch(34.03% 0.157 280.9)
XYZxyz(5.9951, 3.4091, 22.5279)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302185 #768521
analogous
#214485 #302185 #622185
triadic
#302185 #853021 #218530
tetradic
#302185 #852144 #768521 #218562
square
#302185 #852144 #768521 #218562
split-complementary
#302185 #856221 #448521
monochromatic
#0D0923 #1E1554 #302185 #422DB6 #614DD3

Accessibility & contrast

On white

12.49
#302185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#302185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302185
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302185#FFFFFF#000000##FFFFFF
##3021851.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #302185;
/* rgb */ color: rgb(48, 33, 133);
/* oklch */ color: oklch(34.0% 0.157 280.9);
Tailwind
colors: {
  custom: {
    50: '#745eaa',
    500: '#302185',
    950: '#000000',
  },
}
SCSS
$custom: #302185;
$custom-light: #745eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#302185",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 249,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34035,
    "c": 0.15696,
    "h": 280.9
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#302185
secondary
#A6B64C
accent
#E344CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #302185

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

Preview Lab → · Contrast checker → · Palette generator →

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