#302ED0#302ED0

#302ED0 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.8% C 0.235 H 271.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#302ED0
RGBrgb(48, 46, 208)
HSLhsl(241, 64%, 50%)
HSVhsv(241, 78%, 82%)
CMYKcmyk(76.9%, 77.9%, 0%, 18.4%)
CIE-LABlab(32.11, 53.99, -81.31)
CIE-LCHlch(32.11, 97.61, 303.59°)
OKLaboklab(43.81% 0.0067 -0.2354)
OKLCHoklch(43.81% 0.235 271.6)
XYZxyz(13.5772, 7.1349, 60.3239)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302ED0 #CED02E
analogous
#2E7DD0 #302ED0 #812ED0
triadic
#302ED0 #D0302E #2ED030
tetradic
#302ED0 #D02E7D #CED02E #2ED081
square
#302ED0 #D02E7D #CED02E #2ED081
split-complementary
#302ED0 #D0812E #7DD02E
monochromatic
#19186C #24239E #302ED0 #615FDC #9392E7

Accessibility & contrast

On white

8.65
#302ED0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#302ED0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302ED0
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302ED0#FFFFFF#000000##FFFFFF
##302ED01.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0043CD
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #302ed0;
/* rgb */ color: rgb(48, 46, 208);
/* oklch */ color: oklch(43.8% 0.235 271.6);
Tailwind
colors: {
  custom: {
    50: '#846ae0',
    500: '#302ed0',
    950: '#000000',
  },
}
SCSS
$custom: #302ed0;
$custom-light: #846ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#302ed0",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 240.741,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.23547,
    "h": 271.6
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#302ED0
secondary
#D1D288
accent
#E741E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #302ED0

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

Preview Lab → · Contrast checker → · Palette generator →

#302ED0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva