#3E28B0#3E28B0

#3E28B0 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.200 H 280.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3E28B0
RGBrgb(62, 40, 176)
HSLhsl(250, 63%, 42%)
HSVhsv(250, 77%, 69%)
CMYKcmyk(64.8%, 77.3%, 0%, 31%)
CIE-LABlab(28.58, 48.37, -68.27)
CIE-LCHlch(28.58, 83.67, 305.32°)
OKLaboklab(40.57% 0.0348 -0.1971)
OKLCHoklch(40.57% 0.2 280)
XYZxyz(10.5794, 5.6755, 41.6038)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28B0 #9AB028
analogous
#2856B0 #3E28B0 #8228B0
triadic
#3E28B0 #B03E28 #28B03E
tetradic
#3E28B0 #B02856 #9AB028 #28B082
square
#3E28B0 #B02856 #9AB028 #28B082
split-complementary
#3E28B0 #B08228 #56B028
monochromatic
#1B114C #2C1D7E #3E28B0 #5941D4 #8573DF

Accessibility & contrast

On white

9.84
#3E28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E28B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28B0
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28B0#FFFFFF#000000##FFFFFF
##3E28B01.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e28b0;
/* rgb */ color: rgb(62, 40, 176);
/* oklch */ color: oklch(40.6% 0.200 280.0);
Tailwind
colors: {
  custom: {
    50: '#8366c9',
    500: '#3e28b0',
    950: '#000000',
  },
}
SCSS
$custom: #3e28b0;
$custom-light: #8366c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28b0",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 249.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.20012,
    "h": 280
  },
  "luminance": 0.05676
}

Semantic roles & 50–950 ramp

primary
#3E28B0
secondary
#B8C66D
accent
#E642CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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