#302FED#302FED

#302FED is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 47.1% C 0.267 H 270.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#302FED
RGBrgb(48, 47, 237)
HSLhsl(240, 84%, 56%)
HSVhsv(240, 80%, 93%)
CMYKcmyk(79.7%, 80.2%, 0%, 7.1%)
CIE-LABlab(35.55, 62.36, -92.26)
CIE-LCHlch(35.55, 111.35, 304.06°)
OKLaboklab(47.15% 0.0006 -0.2671)
OKLCHoklch(47.15% 0.267 270.1)
XYZxyz(17.5163, 8.7738, 80.8747)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302FED #ECED2F
analogous
#2F8DED #302FED #8F2FED
triadic
#302FED #ED302F #2FED30
tetradic
#302FED #ED2F8D #ECED2F #2FED8F
square
#302FED #ED2F8D #ECED2F #2FED8F
split-complementary
#302FED #ED8F2F #8DED2F
monochromatic
#0E0D95 #1312CD #302FED #6867F2 #A0A0F7

Accessibility & contrast

On white

7.62
#302FED on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#302FED on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302FED
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302FED#FFFFFF#000000##FFFFFF
##302FED1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DF2
Deuteranopia (green-blind)
#0049EA
Tritanopia (blue-blind)
#006C90
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #302fed;
/* rgb */ color: rgb(48, 47, 237);
/* oklch */ color: oklch(47.1% 0.267 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cf5',
    500: '#302fed',
    950: '#000000',
  },
}
SCSS
$custom: #302fed;
$custom-light: #8a6cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#302fed",
  "rgb": {
    "r": 48,
    "g": 47,
    "b": 237
  },
  "hsl": {
    "h": 240.316,
    "s": 84.071,
    "l": 55.686
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.2671,
    "h": 270.1
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#302FED
secondary
#E3E394
accent
#FA2DF9
background
#F9F6FF
surface
#F2ECFF
border
#CCC7D7
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #302FED

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

Preview Lab → · Contrast checker → · Palette generator →

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