#302193#302193

#302193 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.175 H 278.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#302193
RGBrgb(48, 33, 147)
HSLhsl(248, 63%, 35%)
HSVhsv(248, 78%, 58%)
CMYKcmyk(67.3%, 77.6%, 0%, 42.4%)
CIE-LABlab(23.07, 41.43, -59.76)
CIE-LCHlch(23.07, 72.72, 304.73°)
OKLaboklab(35.5% 0.0262 -0.1726)
OKLCHoklch(35.5% 0.175 278.6)
XYZxyz(7.0275, 3.8221, 27.9655)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302193 #849321
analogous
#214B93 #302193 #692193
triadic
#302193 #933021 #219330
tetradic
#302193 #93214B #849321 #219369
square
#302193 #93214B #849321 #219369
split-complementary
#302193 #936921 #4B9321
monochromatic
#0F0B2F #201661 #302193 #402CC5 #6755D9

Accessibility & contrast

On white

11.90
#302193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302193
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302193#FFFFFF#000000##FFFFFF
##3021931.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302193;
/* rgb */ color: rgb(48, 33, 147);
/* oklch */ color: oklch(35.5% 0.175 278.6);
Tailwind
colors: {
  custom: {
    50: '#775fb4',
    500: '#302193',
    950: '#000000',
  },
}
SCSS
$custom: #302193;
$custom-light: #775fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#302193",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 247.895,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.17457,
    "h": 278.6
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#302193
secondary
#AFBD53
accent
#E641D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302193

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

Preview Lab → · Contrast checker → · Palette generator →

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