#302EE1#302EE1

#302EE1 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.7% C 0.255 H 270.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#302EE1
RGBrgb(48, 46, 225)
HSLhsl(241, 75%, 53%)
HSVhsv(241, 80%, 88%)
CMYKcmyk(78.7%, 79.6%, 0%, 11.8%)
CIE-LABlab(34.02, 59.22, -87.95)
CIE-LCHlch(34.02, 106.03, 303.95°)
OKLaboklab(45.69% 0.0032 -0.2546)
OKLCHoklch(45.69% 0.255 270.7)
XYZxyz(15.7819, 8.0168, 71.9352)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302EE1 #DFE12E
analogous
#2E86E1 #302EE1 #892EE1
triadic
#302EE1 #E1302E #2EE130
tetradic
#302EE1 #E12E86 #DFE12E #2EE189
square
#302EE1 #E12E86 #DFE12E #2EE189
split-complementary
#302EE1 #E1892E #86E12E
monochromatic
#141382 #1C1AB7 #302EE1 #6564E9 #9A99F0

Accessibility & contrast

On white

8.07
#302EE1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#302EE1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302EE1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302EE1#FFFFFF#000000##FFFFFF
##302EE11.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E6
Deuteranopia (green-blind)
#0047DE
Tritanopia (blue-blind)
#006788
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #302ee1;
/* rgb */ color: rgb(48, 46, 225);
/* oklch */ color: oklch(45.7% 0.255 270.7);
Tailwind
colors: {
  custom: {
    50: '#886bec',
    500: '#302ee1',
    950: '#000000',
  },
}
SCSS
$custom: #302ee1;
$custom-light: #886bec;
$custom-dark: #000000;
JSON
{
  "hex": "#302ee1",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 225
  },
  "hsl": {
    "h": 240.67,
    "s": 74.895,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45693,
    "c": 0.25465,
    "h": 270.7
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#302EE1
secondary
#DBDC8F
accent
#F236EF
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #302EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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