#302093#302093

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

Color values

HEX#302093
RGBrgb(48, 32, 147)
HSLhsl(248, 64%, 35%)
HSVhsv(248, 78%, 58%)
CMYKcmyk(67.3%, 78.2%, 0%, 42.4%)
CIE-LABlab(22.89, 41.97, -60.07)
CIE-LCHlch(22.89, 73.28, 304.94°)
OKLaboklab(35.37% 0.0268 -0.1735)
OKLCHoklch(35.37% 0.176 278.8)
XYZxyz(7.0002, 3.7674, 27.9564)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302093 #839320
analogous
#204993 #302093 #6A2093
triadic
#302093 #933020 #209330
tetradic
#302093 #932049 #839320 #20936A
square
#302093 #932049 #839320 #20936A
split-complementary
#302093 #936A20 #499320
monochromatic
#0F0A2E #201561 #302093 #402BC5 #6654DA

Accessibility & contrast

On white

11.98
#302093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302093
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302093#FFFFFF#000000##FFFFFF
##3020931.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.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: #302093;
/* rgb */ color: rgb(48, 32, 147);
/* oklch */ color: oklch(35.4% 0.176 278.8);
Tailwind
colors: {
  custom: {
    50: '#775eb4',
    500: '#302093',
    950: '#000000',
  },
}
SCSS
$custom: #302093;
$custom-light: #775eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#302093",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 248.348,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35373,
    "c": 0.17554,
    "h": 278.8
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#302093
secondary
#AEBD52
accent
#E741D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302093

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

Preview Lab → · Contrast checker → · Palette generator →

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