#3E30AC#3E30AC

#3E30AC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.187 H 279.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3E30AC
RGBrgb(62, 48, 172)
HSLhsl(247, 56%, 43%)
HSVhsv(247, 72%, 67%)
CMYKcmyk(64%, 72.1%, 0%, 32.5%)
CIE-LABlab(29.70, 42.82, -64.02)
CIE-LCHlch(29.70, 77.02, 303.78°)
OKLaboklab(41.25% 0.0306 -0.1847)
OKLCHoklch(41.25% 0.187 279.4)
XYZxyz(10.4876, 6.1158, 39.6495)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30AC #9EAC30
analogous
#3060AC #3E30AC #7C30AC
triadic
#3E30AC #AC3E30 #30AC3E
tetradic
#3E30AC #AC3060 #9EAC30 #30AC7C
square
#3E30AC #AC3060 #9EAC30 #30AC7C
split-complementary
#3E30AC #AC7C30 #60AC30
monochromatic
#1C154C #2D237C #3E30AC #5B4CCD #877CDA

Accessibility & contrast

On white

9.44
#3E30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30AC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30AC#FFFFFF#000000##FFFFFF
##3E30AC1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e30ac;
/* rgb */ color: rgb(62, 48, 172);
/* oklch */ color: oklch(41.2% 0.187 279.4);
Tailwind
colors: {
  custom: {
    50: '#816ac6',
    500: '#3e30ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e30ac;
$custom-light: #816ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30ac",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 246.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.18724,
    "h": 279.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#3E30AC
secondary
#BAC375
accent
#E048CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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