#301BBB#301BBB

#301BBB is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.4% C 0.226 H 274.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#301BBB
RGBrgb(48, 27, 187)
HSLhsl(248, 75%, 42%)
HSVhsv(248, 86%, 73%)
CMYKcmyk(74.3%, 85.6%, 0%, 26.7%)
CIE-LABlab(26.73, 56.31, -77.91)
CIE-LCHlch(26.73, 96.13, 305.86°)
OKLaboklab(39.38% 0.0173 -0.2252)
OKLCHoklch(39.38% 0.226 274.4)
XYZxyz(10.5775, 4.9990, 47.4115)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301BBB #A6BB1B
analogous
#1B56BB #301BBB #801BBB
triadic
#301BBB #BB301B #1BBB30
tetradic
#301BBB #BB1B56 #A6BB1B #1BBB80
square
#301BBB #BB1B56 #A6BB1B #1BBB80
split-complementary
#301BBB #BB801B #56BB1B
monochromatic
#150C50 #221386 #301BBB #4932E1 #7867E9

Accessibility & contrast

On white

10.50
#301BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#301BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301BBB
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301BBB#FFFFFF#000000##FFFFFF
##301BBB1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BF
Deuteranopia (green-blind)
#0038B8
Tritanopia (blue-blind)
#00506F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #301bbb;
/* rgb */ color: rgb(48, 27, 187);
/* oklch */ color: oklch(39.4% 0.226 274.4);
Tailwind
colors: {
  custom: {
    50: '#805fd1',
    500: '#301bbb',
    950: '#000000',
  },
}
SCSS
$custom: #301bbb;
$custom-light: #805fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#301bbb",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 247.875,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.22588,
    "h": 274.4
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#301BBB
secondary
#C0CE63
accent
#F136D9
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #301BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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