#3E28CA#3E28CA

#3E28CA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.3% C 0.230 H 276.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3E28CA
RGBrgb(62, 40, 202)
HSLhsl(248, 67%, 47%)
HSVhsv(248, 80%, 79%)
CMYKcmyk(69.3%, 80.2%, 0%, 20.8%)
CIE-LABlab(31.36, 56.12, -79.04)
CIE-LCHlch(31.36, 96.93, 305.37°)
OKLaboklab(43.33% 0.0278 -0.2284)
OKLCHoklch(43.33% 0.23 276.9)
XYZxyz(13.4026, 6.8048, 56.4728)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28CA #B4CA28
analogous
#2863CA #3E28CA #8F28CA
triadic
#3E28CA #CA3E28 #28CA3E
tetradic
#3E28CA #CA2863 #B4CA28 #28CA8F
square
#3E28CA #CA2863 #B4CA28 #28CA8F
split-complementary
#3E28CA #CA8F28 #63CA28
monochromatic
#1F1464 #2E1E97 #3E28CA #6552DD #9385E7

Accessibility & contrast

On white

8.89
#3E28CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E28CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28CA
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28CA#FFFFFF#000000##FFFFFF
##3E28CA1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e28ca;
/* rgb */ color: rgb(62, 40, 202);
/* oklch */ color: oklch(43.3% 0.230 276.9);
Tailwind
colors: {
  custom: {
    50: '#8867dc',
    500: '#3e28ca',
    950: '#000000',
  },
}
SCSS
$custom: #3e28ca;
$custom-light: #8867dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28ca",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 202
  },
  "hsl": {
    "h": 248.148,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.23009,
    "h": 276.9
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#3E28CA
secondary
#C5D07E
accent
#EA3ED3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3E28CA

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

Preview Lab → · Contrast checker → · Palette generator →

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