#3E30B2#3E30B2

#3E30B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.195 H 278.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3E30B2
RGBrgb(62, 48, 178)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 73%, 70%)
CMYKcmyk(65.2%, 73%, 0%, 30.2%)
CIE-LABlab(30.28, 44.74, -66.66)
CIE-LCHlch(30.28, 80.28, 303.87°)
OKLaboklab(41.83% 0.0294 -0.1924)
OKLCHoklch(41.83% 0.195 278.7)
XYZxyz(11.0769, 6.3515, 42.7531)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30B2 #A4B230
analogous
#3063B2 #3E30B2 #7F30B2
triadic
#3E30B2 #B23E30 #30B23E
tetradic
#3E30B2 #B23063 #A4B230 #30B27F
square
#3E30B2 #B23063 #A4B230 #30B27F
split-complementary
#3E30B2 #B27F30 #63B230
monochromatic
#1C1652 #2D2382 #3E30B2 #5D50D0 #8A80DD

Accessibility & contrast

On white

9.25
#3E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3E30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30B2
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30B2#FFFFFF#000000##FFFFFF
##3E30B21.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e30b2;
/* rgb */ color: rgb(62, 48, 178);
/* oklch */ color: oklch(41.8% 0.195 278.7);
Tailwind
colors: {
  custom: {
    50: '#826aca',
    500: '#3e30b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e30b2;
$custom-light: #826aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30b2",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 246.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.19466,
    "h": 278.7
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#3E30B2
secondary
#BDC678
accent
#E147D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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