#302893#302893

#302893 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.167 H 277.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#302893
RGBrgb(48, 40, 147)
HSLhsl(244, 57%, 37%)
HSVhsv(244, 73%, 58%)
CMYKcmyk(67.3%, 72.8%, 0%, 42.4%)
CIE-LABlab(24.49, 37.46, -57.43)
CIE-LCHlch(24.49, 68.57, 303.11°)
OKLaboklab(36.51% 0.0217 -0.1658)
OKLCHoklch(36.51% 0.167 277.5)
XYZxyz(7.2425, 4.2519, 28.0371)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302893 #8B9328
analogous
#285693 #302893 #662893
triadic
#302893 #933028 #289330
tetradic
#302893 #932856 #8B9328 #289366
square
#302893 #932856 #8B9328 #289366
split-complementary
#302893 #936628 #569328
monochromatic
#110E33 #201B63 #302893 #4035C3 #6A61D4

Accessibility & contrast

On white

11.35
#302893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#302893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302893
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302893#FFFFFF#000000##FFFFFF
##3028931.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #302893;
/* rgb */ color: rgb(48, 40, 147);
/* oklch */ color: oklch(36.5% 0.167 277.5);
Tailwind
colors: {
  custom: {
    50: '#7663b4',
    500: '#302893',
    950: '#000000',
  },
}
SCSS
$custom: #302893;
$custom-light: #7663b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302893",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 244.486,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36506,
    "c": 0.16726,
    "h": 277.5
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#302893
secondary
#B3BA5D
accent
#E047D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #302893

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

Preview Lab → · Contrast checker → · Palette generator →

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