#3E30AF#3E30AF

#3E30AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.191 H 279.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3E30AF
RGBrgb(62, 48, 175)
HSLhsl(247, 57%, 44%)
HSVhsv(247, 73%, 69%)
CMYKcmyk(64.6%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.99, 43.78, -65.34)
CIE-LCHlch(29.99, 78.66, 303.82°)
OKLaboklab(41.54% 0.03 -0.1886)
OKLCHoklch(41.54% 0.191 279)
XYZxyz(10.7789, 6.2323, 41.1841)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30AF #A1AF30
analogous
#3061AF #3E30AF #7D30AF
triadic
#3E30AF #AF3E30 #30AF3E
tetradic
#3E30AF #AF3061 #A1AF30 #30AF7D
square
#3E30AF #AF3061 #A1AF30 #30AF7D
split-complementary
#3E30AF #AF7D30 #61AF30
monochromatic
#1C164F #2D237F #3E30AF #5C4ECE #887EDC

Accessibility & contrast

On white

9.35
#3E30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3E30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30AF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30AF#FFFFFF#000000##FFFFFF
##3E30AF1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e30af;
/* rgb */ color: rgb(62, 48, 175);
/* oklch */ color: oklch(41.5% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#826ac8',
    500: '#3e30af',
    950: '#000000',
  },
}
SCSS
$custom: #3e30af;
$custom-light: #826ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30af",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 246.614,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.19096,
    "h": 279
  },
  "luminance": 0.06233
}

Semantic roles & 50–950 ramp

primary
#3E30AF
secondary
#BCC476
accent
#E048CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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