#302293#302293

#302293 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.174 H 278.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#302293
RGBrgb(48, 34, 147)
HSLhsl(247, 62%, 35%)
HSVhsv(247, 77%, 58%)
CMYKcmyk(67.3%, 76.9%, 0%, 42.4%)
CIE-LABlab(23.27, 40.89, -59.45)
CIE-LCHlch(23.27, 72.15, 304.52°)
OKLaboklab(35.64% 0.0256 -0.1717)
OKLCHoklch(35.64% 0.174 278.5)
XYZxyz(7.0557, 3.8784, 27.9749)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302293 #859322
analogous
#224C93 #302293 #692293
triadic
#302293 #933022 #229330
tetradic
#302293 #93224C #859322 #229369
square
#302293 #93224C #859322 #229369
split-complementary
#302293 #936922 #4C9322
monochromatic
#100B30 #201761 #302293 #402DC5 #6757D8

Accessibility & contrast

On white

11.83
#302293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#302293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302293
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302293#FFFFFF#000000##FFFFFF
##3022931.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #302293;
/* rgb */ color: rgb(48, 34, 147);
/* oklch */ color: oklch(35.6% 0.174 278.5);
Tailwind
colors: {
  custom: {
    50: '#7760b4',
    500: '#302293',
    950: '#000000',
  },
}
SCSS
$custom: #302293;
$custom-light: #7760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#302293",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 247.434,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.17358,
    "h": 278.5
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#302293
secondary
#AFBC55
accent
#E542D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #302293

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

Preview Lab → · Contrast checker → · Palette generator →

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