#3E3FBD#3E3FBD

#3E3FBD is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.2% C 0.192 H 275.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3E3FBD
RGBrgb(62, 63, 189)
HSLhsl(240, 51%, 49%)
HSVhsv(240, 67%, 74%)
CMYKcmyk(67.2%, 66.7%, 0%, 25.9%)
CIE-LABlab(34.50, 39.58, -66.24)
CIE-LCHlch(34.50, 77.16, 300.86°)
OKLaboklab(45.18% 0.0173 -0.1912)
OKLCHoklch(45.18% 0.192 275.2)
XYZxyz(12.9464, 8.2521, 49.0448)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3FBD #BDBC3E
analogous
#3E7EBD #3E3FBD #7D3EBD
triadic
#3E3FBD #BD3E3F #3FBD3E
tetradic
#3E3FBD #BD3E7E #BDBC3E #3EBD7D
square
#3E3FBD #BD3E7E #BDBC3E #3EBD7D
split-complementary
#3E3FBD #BD7D3E #7EBD3E
monochromatic
#202061 #2F308F #3E3FBD #6A6BCE #9899DD

Accessibility & contrast

On white

7.92
#3E3FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E3FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3FBD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3FBD#FFFFFF#000000##FFFFFF
##3E3FBD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e3fbd;
/* rgb */ color: rgb(62, 63, 189);
/* oklch */ color: oklch(45.2% 0.192 275.2);
Tailwind
colors: {
  custom: {
    50: '#8375d2',
    500: '#3e3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3e3fbd;
$custom-light: #8375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3fbd",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 239.528,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45175,
    "c": 0.192,
    "h": 275.2
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#3E3FBD
secondary
#C9C98E
accent
#D94EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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