#3E4DC8#3E4DC8

#3E4DC8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.190 H 271.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3E4DC8
RGBrgb(62, 77, 200)
HSLhsl(233, 56%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(69%, 61.5%, 0%, 21.6%)
CIE-LABlab(38.73, 34.69, -65.76)
CIE-LCHlch(38.73, 74.34, 297.81°)
OKLaboklab(48.55% 0.0063 -0.1897)
OKLCHoklch(48.55% 0.19 271.9)
XYZxyz(15.0623, 10.5006, 55.8654)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DC8 #C8B93E
analogous
#3E92C8 #3E4DC8 #743EC8
triadic
#3E4DC8 #C83E4D #4DC83E
tetradic
#3E4DC8 #C83E92 #C8B93E #3EC874
square
#3E4DC8 #C83E92 #C8B93E #3EC874
split-complementary
#3E4DC8 #C8743E #92C83E
monochromatic
#1F276D #2D399C #3E4DC8 #6E79D6 #9DA5E3

Accessibility & contrast

On white

6.77
#3E4DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3E4DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DC8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DC8#FFFFFF#000000##FFFFFF
##3E4DC81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4dc8;
/* rgb */ color: rgb(62, 77, 200);
/* oklch */ color: oklch(48.6% 0.190 271.9);
Tailwind
colors: {
  custom: {
    50: '#857eda',
    500: '#3e4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dc8;
$custom-light: #857eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dc8",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 233.478,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.18984,
    "h": 271.9
  },
  "luminance": 0.10502
}

Semantic roles & 50–950 ramp

primary
#3E4DC8
secondary
#CFC992
accent
#CF49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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