#3E30B4#3E30B4

#3E30B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.197 H 278.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3E30B4
RGBrgb(62, 48, 180)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 73%, 71%)
CMYKcmyk(65.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(30.48, 45.37, -67.53)
CIE-LCHlch(30.48, 81.35, 303.90°)
OKLaboklab(42.03% 0.029 -0.195)
OKLCHoklch(42.03% 0.197 278.4)
XYZxyz(11.2791, 6.4324, 43.8184)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30B4 #A6B430
analogous
#3064B4 #3E30B4 #8030B4
triadic
#3E30B4 #B43E30 #30B43E
tetradic
#3E30B4 #B43064 #A6B430 #30B480
square
#3E30B4 #B43064 #A6B430 #30B480
split-complementary
#3E30B4 #B48030 #64B430
monochromatic
#1D1653 #2D2384 #3E30B4 #5E51D1 #8B81DD

Accessibility & contrast

On white

9.18
#3E30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3E30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30B4
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30B4#FFFFFF#000000##FFFFFF
##3E30B41.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e30b4;
/* rgb */ color: rgb(62, 48, 180);
/* oklch */ color: oklch(42.0% 0.197 278.4);
Tailwind
colors: {
  custom: {
    50: '#836acc',
    500: '#3e30b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e30b4;
$custom-light: #836acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30b4",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 246.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.1971,
    "h": 278.4
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#3E30B4
secondary
#BEC679
accent
#E147D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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