#3E30AA#3E30AA

#3E30AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.185 H 279.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3E30AA
RGBrgb(62, 48, 170)
HSLhsl(247, 56%, 43%)
HSVhsv(247, 72%, 67%)
CMYKcmyk(63.5%, 71.8%, 0%, 33.3%)
CIE-LABlab(29.51, 42.18, -63.14)
CIE-LCHlch(29.51, 75.93, 303.75°)
OKLaboklab(41.05% 0.0309 -0.1821)
OKLCHoklch(41.05% 0.185 279.6)
XYZxyz(10.2969, 6.0395, 38.6455)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30AA #9CAA30
analogous
#305FAA #3E30AA #7B30AA
triadic
#3E30AA #AA3E30 #30AA3E
tetradic
#3E30AA #AA305F #9CAA30 #30AA7B
square
#3E30AA #AA305F #9CAA30 #30AA7B
split-complementary
#3E30AA #AA7B30 #5FAA30
monochromatic
#1B154B #2D237A #3E30AA #5A4BCC #867BDA

Accessibility & contrast

On white

9.51
#3E30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3E30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30AA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30AA#FFFFFF#000000##FFFFFF
##3E30AA1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e30aa;
/* rgb */ color: rgb(62, 48, 170);
/* oklch */ color: oklch(41.1% 0.185 279.6);
Tailwind
colors: {
  custom: {
    50: '#816ac4',
    500: '#3e30aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e30aa;
$custom-light: #816ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30aa",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 246.885,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.18475,
    "h": 279.6
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#3E30AA
secondary
#B9C274
accent
#DF49CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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