#3E30B3#3E30B3

#3E30B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.196 H 278.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3E30B3
RGBrgb(62, 48, 179)
HSLhsl(246, 58%, 45%)
HSVhsv(246, 73%, 70%)
CMYKcmyk(65.4%, 73.2%, 0%, 29.8%)
CIE-LABlab(30.38, 45.05, -67.09)
CIE-LCHlch(30.38, 80.81, 303.88°)
OKLaboklab(41.93% 0.0292 -0.1937)
OKLCHoklch(41.93% 0.196 278.6)
XYZxyz(11.1776, 6.3918, 43.2838)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E30B3 #A5B330
analogous
#3064B3 #3E30B3 #8030B3
triadic
#3E30B3 #B33E30 #30B33E
tetradic
#3E30B3 #B33064 #A5B330 #30B380
square
#3E30B3 #B33064 #A5B330 #30B380
split-complementary
#3E30B3 #B38030 #64B330
monochromatic
#1D1652 #2D2383 #3E30B3 #5E50D0 #8A80DD

Accessibility & contrast

On white

9.22
#3E30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3E30B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E30B3
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E30B3#FFFFFF#000000##FFFFFF
##3E30B31.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e30b3;
/* rgb */ color: rgb(62, 48, 179);
/* oklch */ color: oklch(41.9% 0.196 278.6);
Tailwind
colors: {
  custom: {
    50: '#836acb',
    500: '#3e30b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e30b3;
$custom-light: #836acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e30b3",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 246.412,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.19588,
    "h": 278.6
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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