#3E4DC6#3E4DC6

#3E4DC6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.187 H 272.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#3E4DC6
RGBrgb(62, 77, 198)
HSLhsl(233, 54%, 51%)
HSVhsv(233, 69%, 78%)
CMYKcmyk(68.7%, 61.1%, 0%, 22.4%)
CIE-LABlab(38.56, 33.99, -64.86)
CIE-LCHlch(38.56, 73.22, 297.65°)
OKLaboklab(48.38% 0.0064 -0.1871)
OKLCHoklch(48.38% 0.187 272)
XYZxyz(14.8301, 10.4077, 54.6425)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DC6 #C6B73E
analogous
#3E91C6 #3E4DC6 #733EC6
triadic
#3E4DC6 #C63E4D #4DC63E
tetradic
#3E4DC6 #C63E91 #C6B73E #3EC673
square
#3E4DC6 #C63E91 #C6B73E #3EC673
split-complementary
#3E4DC6 #C6733E #91C63E
monochromatic
#1F286A #2D3999 #3E4DC6 #6D79D4 #9CA4E2

Accessibility & contrast

On white

6.81
#3E4DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3E4DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DC6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DC6#FFFFFF#000000##FFFFFF
##3E4DC61.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e4dc6;
/* rgb */ color: rgb(62, 77, 198);
/* oklch */ color: oklch(48.4% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#847ed8',
    500: '#3e4dc6',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dc6;
$custom-light: #847ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dc6",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 233.382,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.1872,
    "h": 272
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#3E4DC6
secondary
#CEC792
accent
#CD4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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