#3B28C7#3B28C7

#3B28C7 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.227 H 276.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3B28C7
RGBrgb(59, 40, 199)
HSLhsl(247, 67%, 47%)
HSVhsv(247, 80%, 78%)
CMYKcmyk(70.4%, 79.9%, 0%, 22%)
CIE-LABlab(30.81, 54.99, -78.20)
CIE-LCHlch(30.81, 95.60, 305.11°)
OKLaboklab(42.79% 0.0245 -0.226)
OKLCHoklch(42.79% 0.227 276.2)
XYZxyz(12.8679, 6.5697, 54.6117)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28C7 #B4C728
analogous
#2865C7 #3B28C7 #8B28C7
triadic
#3B28C7 #C73B28 #28C73B
tetradic
#3B28C7 #C72865 #B4C728 #28C78B
square
#3B28C7 #C72865 #B4C728 #28C78B
split-complementary
#3B28C7 #C78B28 #65C728
monochromatic
#1D1461 #2C1E94 #3B28C7 #6150DC #8F83E6

Accessibility & contrast

On white

9.07
#3B28C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3B28C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28C7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28C7#FFFFFF#000000##FFFFFF
##3B28C71.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b28c7;
/* rgb */ color: rgb(59, 40, 199);
/* oklch */ color: oklch(42.8% 0.227 276.2);
Tailwind
colors: {
  custom: {
    50: '#8667d9',
    500: '#3b28c7',
    950: '#000000',
  },
}
SCSS
$custom: #3b28c7;
$custom-light: #8667d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28c7",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 247.17,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.22737,
    "h": 276.2
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#3B28C7
secondary
#C5CF7C
accent
#E93ED5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3B28C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3B28C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva