#3E28AF#3E28AF

#3E28AF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.5% C 0.199 H 280.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3E28AF
RGBrgb(62, 40, 175)
HSLhsl(250, 63%, 42%)
HSVhsv(250, 77%, 69%)
CMYKcmyk(64.6%, 77.1%, 0%, 31.4%)
CIE-LABlab(28.47, 48.06, -67.84)
CIE-LCHlch(28.47, 83.14, 305.32°)
OKLaboklab(40.47% 0.0351 -0.1958)
OKLCHoklch(40.47% 0.199 280.2)
XYZxyz(10.4808, 5.6360, 41.0847)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28AF #99AF28
analogous
#2855AF #3E28AF #8228AF
triadic
#3E28AF #AF3E28 #28AF3E
tetradic
#3E28AF #AF2855 #99AF28 #28AF82
square
#3E28AF #AF2855 #99AF28 #28AF82
split-complementary
#3E28AF #AF8228 #55AF28
monochromatic
#1B114B #2C1D7D #3E28AF #5941D4 #8473DF

Accessibility & contrast

On white

9.87
#3E28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28AF
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28AF#FFFFFF#000000##FFFFFF
##3E28AF1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e28af;
/* rgb */ color: rgb(62, 40, 175);
/* oklch */ color: oklch(40.5% 0.199 280.2);
Tailwind
colors: {
  custom: {
    50: '#8266c8',
    500: '#3e28af',
    950: '#000000',
  },
}
SCSS
$custom: #3e28af;
$custom-light: #8266c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28af",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 249.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40468,
    "c": 0.19894,
    "h": 280.2
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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