#301EBB#301EBB

#301EBB is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.7% C 0.224 H 274.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#301EBB
RGBrgb(48, 30, 187)
HSLhsl(247, 72%, 43%)
HSVhsv(247, 84%, 73%)
CMYKcmyk(74.3%, 84%, 0%, 26.7%)
CIE-LABlab(27.14, 55.10, -77.24)
CIE-LCHlch(27.14, 94.88, 305.50°)
OKLaboklab(39.66% 0.0165 -0.2233)
OKLCHoklch(39.66% 0.224 274.2)
XYZxyz(10.6499, 5.1437, 47.4356)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301EBB #A9BB1E
analogous
#1E5ABB #301EBB #7E1EBB
triadic
#301EBB #BB301E #1EBB30
tetradic
#301EBB #BB1E5A #A9BB1E #1EBB7E
square
#301EBB #BB1E5A #A9BB1E #1EBB7E
split-complementary
#301EBB #BB7E1E #5ABB1E
monochromatic
#150D52 #221686 #301EBB #4A37DF #7A6CE7

Accessibility & contrast

On white

10.35
#301EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#301EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301EBB
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301EBB#FFFFFF#000000##FFFFFF
##301EBB1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047BF
Deuteranopia (green-blind)
#0039B8
Tritanopia (blue-blind)
#00516F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #301ebb;
/* rgb */ color: rgb(48, 30, 187);
/* oklch */ color: oklch(39.7% 0.224 274.2);
Tailwind
colors: {
  custom: {
    50: '#8060d1',
    500: '#301ebb',
    950: '#000000',
  },
}
SCSS
$custom: #301ebb;
$custom-light: #8060d1;
$custom-dark: #000000;
JSON
{
  "hex": "#301ebb",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 246.879,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.22392,
    "h": 274.2
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#301EBB
secondary
#C2CD67
accent
#EF39DA
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #301EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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