#3E42BF#3E42BF

#3E42BF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.191 H 274.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3E42BF
RGBrgb(62, 66, 191)
HSLhsl(238, 51%, 50%)
HSVhsv(238, 68%, 75%)
CMYKcmyk(67.5%, 65.4%, 0%, 25.1%)
CIE-LABlab(35.36, 38.42, -66.00)
CIE-LCHlch(35.36, 76.37, 300.21°)
OKLaboklab(45.85% 0.015 -0.1905)
OKLCHoklch(45.85% 0.191 274.5)
XYZxyz(13.3357, 8.6809, 50.2529)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E42BF #BFBB3E
analogous
#3E82BF #3E42BF #7B3EBF
triadic
#3E42BF #BF3E42 #42BF3E
tetradic
#3E42BF #BF3E82 #BFBB3E #3EBF7B
square
#3E42BF #BF3E82 #BFBB3E #3EBF7B
split-complementary
#3E42BF #BF7B3E #82BF3E
monochromatic
#202263 #2F3291 #3E42BF #6B6ECF #999CDE

Accessibility & contrast

On white

7.67
#3E42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E42BF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E42BF#FFFFFF#000000##FFFFFF
##3E42BF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e42bf;
/* rgb */ color: rgb(62, 66, 191);
/* oklch */ color: oklch(45.9% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#8477d3',
    500: '#3e42bf',
    950: '#000000',
  },
}
SCSS
$custom: #3e42bf;
$custom-light: #8477d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e42bf",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 238.14,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.19111,
    "h": 274.5
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#3E42BF
secondary
#CAC88F
accent
#D64DDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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