#302BED#302BED

#302BED is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.7% C 0.270 H 270.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#302BED
RGBrgb(48, 43, 237)
HSLhsl(242, 84%, 55%)
HSVhsv(242, 82%, 93%)
CMYKcmyk(79.7%, 81.9%, 0%, 7.1%)
CIE-LABlab(34.94, 64.14, -93.26)
CIE-LCHlch(34.94, 113.19, 304.52°)
OKLaboklab(46.73% 0.0013 -0.2699)
OKLCHoklch(46.73% 0.27 270.3)
XYZxyz(17.3637, 8.4685, 80.8238)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302BED #E8ED2B
analogous
#2B87ED #302BED #912BED
triadic
#302BED #ED302B #2BED30
tetradic
#302BED #ED2B87 #E8ED2B #2BED91
square
#302BED #ED2B87 #E8ED2B #2BED91
split-complementary
#302BED #ED912B #87ED2B
monochromatic
#100C91 #1611CA #302BED #6763F2 #9E9CF7

Accessibility & contrast

On white

7.79
#302BED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#302BED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302BED
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302BED#FFFFFF#000000##FFFFFF
##302BED1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CF2
Deuteranopia (green-blind)
#0048EA
Tritanopia (blue-blind)
#006A8F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #302bed;
/* rgb */ color: rgb(48, 43, 237);
/* oklch */ color: oklch(46.7% 0.270 270.3);
Tailwind
colors: {
  custom: {
    50: '#8b6af5',
    500: '#302bed',
    950: '#000000',
  },
}
SCSS
$custom: #302bed;
$custom-light: #8b6af5;
$custom-dark: #000000;
JSON
{
  "hex": "#302bed",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 237
  },
  "hsl": {
    "h": 241.546,
    "s": 84.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.26993,
    "h": 270.3
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#302BED
secondary
#E1E391
accent
#FB2DF5
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #302BED

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

Preview Lab → · Contrast checker → · Palette generator →

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