#3E4DCB#3E4DCB

#3E4DCB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.194 H 271.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3E4DCB
RGBrgb(62, 77, 203)
HSLhsl(234, 58%, 52%)
HSVhsv(234, 69%, 80%)
CMYKcmyk(69.5%, 62.1%, 0%, 20.4%)
CIE-LABlab(38.97, 35.73, -67.10)
CIE-LCHlch(38.97, 76.02, 298.04°)
OKLaboklab(48.81% 0.0062 -0.1937)
OKLCHoklch(48.81% 0.194 271.8)
XYZxyz(15.4163, 10.6422, 57.7300)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DCB #CBBC3E
analogous
#3E94CB #3E4DCB #763ECB
triadic
#3E4DCB #CB3E4D #4DCB3E
tetradic
#3E4DCB #CB3E94 #CBBC3E #3ECB76
square
#3E4DCB #CB3E94 #CBBC3E #3ECB76
split-complementary
#3E4DCB #CB763E #94CB3E
monochromatic
#1E2770 #2B38A1 #3E4DCB #6E79D8 #9EA6E5

Accessibility & contrast

On white

6.71
#3E4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3E4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4DCB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DCB#FFFFFF#000000##FFFFFF
##3E4DCB1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e4dcb;
/* rgb */ color: rgb(62, 77, 203);
/* oklch */ color: oklch(48.8% 0.194 271.8);
Tailwind
colors: {
  custom: {
    50: '#857fdc',
    500: '#3e4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3e4dcb;
$custom-light: #857fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4dcb",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 233.617,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.19376,
    "h": 271.8
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#3E4DCB
secondary
#D1CB94
accent
#D047E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3E4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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