#3A28CA#3A28CA

#3A28CA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.1% C 0.231 H 275.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3A28CA
RGBrgb(58, 40, 202)
HSLhsl(247, 67%, 47%)
HSVhsv(247, 80%, 79%)
CMYKcmyk(71.3%, 80.2%, 0%, 20.8%)
CIE-LABlab(31.07, 55.80, -79.53)
CIE-LCHlch(31.07, 97.15, 305.05°)
OKLaboklab(43.05% 0.0224 -0.2299)
OKLCHoklch(43.05% 0.231 275.6)
XYZxyz(13.1609, 6.6801, 56.4615)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28CA #B8CA28
analogous
#2867CA #3A28CA #8B28CA
triadic
#3A28CA #CA3A28 #28CA3A
tetradic
#3A28CA #CA2867 #B8CA28 #28CA8B
square
#3A28CA #CA2867 #B8CA28 #28CA8B
split-complementary
#3A28CA #CA8B28 #67CA28
monochromatic
#1D1464 #2B1E97 #3A28CA #6252DD #9085E7

Accessibility & contrast

On white

8.99
#3A28CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A28CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28CA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28CA#FFFFFF#000000##FFFFFF
##3A28CA1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a28ca;
/* rgb */ color: rgb(58, 40, 202);
/* oklch */ color: oklch(43.1% 0.231 275.6);
Tailwind
colors: {
  custom: {
    50: '#8667dc',
    500: '#3a28ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a28ca;
$custom-light: #8667dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28ca",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 246.667,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.231,
    "h": 275.6
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#3A28CA
secondary
#C7D07E
accent
#EA3ED7
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A28CA

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

Preview Lab → · Contrast checker → · Palette generator →

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