#3E28B3#3E28B3

#3E28B3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.204 H 279.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#3E28B3
RGBrgb(62, 40, 179)
HSLhsl(249, 63%, 43%)
HSVhsv(249, 78%, 70%)
CMYKcmyk(65.4%, 77.7%, 0%, 29.8%)
CIE-LABlab(28.89, 49.28, -69.55)
CIE-LCHlch(28.89, 85.23, 305.32°)
OKLaboklab(40.88% 0.034 -0.2008)
OKLCHoklch(40.88% 0.204 279.6)
XYZxyz(10.8795, 5.7955, 43.1844)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28B3 #9DB328
analogous
#2858B3 #3E28B3 #8328B3
triadic
#3E28B3 #B33E28 #28B33E
tetradic
#3E28B3 #B32858 #9DB328 #28B383
square
#3E28B3 #B32858 #9DB328 #28B383
split-complementary
#3E28B3 #B38328 #58B328
monochromatic
#1B124F #2D1D81 #3E28B3 #5A43D5 #8675E0

Accessibility & contrast

On white

9.73
#3E28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28B3
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28B3#FFFFFF#000000##FFFFFF
##3E28B31.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e28b3;
/* rgb */ color: rgb(62, 40, 179);
/* oklch */ color: oklch(40.9% 0.204 279.6);
Tailwind
colors: {
  custom: {
    50: '#8366cb',
    500: '#3e28b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e28b3;
$custom-light: #8366cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28b3",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 249.496,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.20365,
    "h": 279.6
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#3E28B3
secondary
#BAC86F
accent
#E641CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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