#301BEA#301BEA

#301BEA is a mid, highly saturated blue. Relative luminance 0.074; OKLCH L 45.0% C 0.276 H 270.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#301BEA
RGBrgb(48, 27, 234)
HSLhsl(246, 83%, 51%)
HSVhsv(246, 88%, 92%)
CMYKcmyk(79.5%, 88.5%, 0%, 8.2%)
CIE-LABlab(32.59, 69.23, -95.46)
CIE-LCHlch(32.59, 117.92, 305.95°)
OKLaboklab(45.02% 0.0043 -0.276)
OKLCHoklch(45.02% 0.276 270.9)
XYZxyz(16.4571, 7.3509, 78.3774)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301BEA #D5EA1B
analogous
#1B6DEA #301BEA #971BEA
triadic
#301BEA #EA301B #1BEA30
tetradic
#301BEA #EA1B6D #D5EA1B #1BEA97
square
#301BEA #EA1B6D #D5EA1B #1BEA97
split-complementary
#301BEA #EA971B #6DEA1B
monochromatic
#170C7F #2211B7 #301BEA #6353EF #968BF4

Accessibility & contrast

On white

8.50
#301BEA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#301BEA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301BEA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301BEA#FFFFFF#000000##FFFFFF
##301BEA1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056EF
Deuteranopia (green-blind)
#0042E7
Tritanopia (blue-blind)
#00658B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #301bea;
/* rgb */ color: rgb(48, 27, 234);
/* oklch */ color: oklch(45.0% 0.276 270.9);
Tailwind
colors: {
  custom: {
    50: '#8b63f3',
    500: '#301bea',
    950: '#000000',
  },
}
SCSS
$custom: #301bea;
$custom-light: #8b63f3;
$custom-dark: #000000;
JSON
{
  "hex": "#301bea",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 234
  },
  "hsl": {
    "h": 246.087,
    "s": 83.133,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.27599,
    "h": 270.9
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#301BEA
secondary
#D5DE83
accent
#F92EE5
background
#F9F6FF
surface
#F2EBFE
border
#CCC6D6
text
#0F0617
muted
#7E7A85

Preview Lab

Preview with #301BEA

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

Preview Lab → · Contrast checker → · Palette generator →

#301BEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva