#3A28C7#3A28C7

#3A28C7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.7% C 0.228 H 275.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3A28C7
RGBrgb(58, 40, 199)
HSLhsl(247, 67%, 47%)
HSVhsv(247, 80%, 78%)
CMYKcmyk(70.9%, 79.9%, 0%, 22%)
CIE-LABlab(30.73, 54.91, -78.33)
CIE-LCHlch(30.73, 95.65, 305.03°)
OKLaboklab(42.72% 0.0232 -0.2264)
OKLCHoklch(42.72% 0.228 275.8)
XYZxyz(12.8091, 6.5394, 54.6089)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28C7 #B5C728
analogous
#2866C7 #3A28C7 #8928C7
triadic
#3A28C7 #C73A28 #28C73A
tetradic
#3A28C7 #C72866 #B5C728 #28C789
square
#3A28C7 #C72866 #B5C728 #28C789
split-complementary
#3A28C7 #C78928 #66C728
monochromatic
#1C1461 #2B1E94 #3A28C7 #6050DC #8E83E6

Accessibility & contrast

On white

9.10
#3A28C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A28C7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28C7#FFFFFF#000000##FFFFFF
##3A28C71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.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: #3a28c7;
/* rgb */ color: rgb(58, 40, 199);
/* oklch */ color: oklch(42.7% 0.228 275.8);
Tailwind
colors: {
  custom: {
    50: '#8667d9',
    500: '#3a28c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a28c7;
$custom-light: #8667d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28c7",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 246.792,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.22761,
    "h": 275.8
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

primary
#3A28C7
secondary
#C6CF7C
accent
#E93ED6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A28C7

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

Preview Lab → · Contrast checker → · Palette generator →

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