#3E42BE#3E42BE

#3E42BE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.8% C 0.190 H 274.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3E42BE
RGBrgb(62, 66, 190)
HSLhsl(238, 51%, 49%)
HSVhsv(238, 67%, 75%)
CMYKcmyk(67.4%, 65.3%, 0%, 25.5%)
CIE-LABlab(35.28, 38.08, -65.56)
CIE-LCHlch(35.28, 75.82, 300.15°)
OKLaboklab(45.76% 0.0151 -0.1892)
OKLCHoklch(45.76% 0.19 274.6)
XYZxyz(13.2260, 8.6371, 49.6753)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E42BE #BEBA3E
analogous
#3E82BE #3E42BE #7A3EBE
triadic
#3E42BE #BE3E42 #42BE3E
tetradic
#3E42BE #BE3E82 #BEBA3E #3EBE7A
square
#3E42BE #BE3E82 #BEBA3E #3EBE7A
split-complementary
#3E42BE #BE7A3E #82BE3E
monochromatic
#202262 #2F3290 #3E42BE #6B6ECF #999BDE

Accessibility & contrast

On white

7.70
#3E42BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E42BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E42BE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E42BE#FFFFFF#000000##FFFFFF
##3E42BE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e42be;
/* rgb */ color: rgb(62, 66, 190);
/* oklch */ color: oklch(45.8% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#8377d3',
    500: '#3e42be',
    950: '#000000',
  },
}
SCSS
$custom: #3e42be;
$custom-light: #8377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e42be",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 238.125,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.18982,
    "h": 274.6
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#3E42BE
secondary
#C9C88E
accent
#D64EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3E42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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