#3E5ECC#3E5ECC

#3E5ECC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.174 H 267.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3E5ECC
RGBrgb(62, 94, 204)
HSLhsl(226, 58%, 52%)
HSVhsv(226, 70%, 80%)
CMYKcmyk(69.6%, 53.9%, 0%, 20%)
CIE-LABlab(43.34, 25.29, -60.56)
CIE-LCHlch(43.34, 65.63, 292.67°)
OKLaboklab(52.09% -0.0071 -0.1743)
OKLCHoklch(52.09% 0.174 267.7)
XYZxyz(16.8846, 13.3875, 58.8092)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ECC #CCAC3E
analogous
#3EA5CC #3E5ECC #653ECC
triadic
#3E5ECC #CC3E5E #5ECC3E
tetradic
#3E5ECC #CC3EA5 #CCAC3E #3ECC65
square
#3E5ECC #CC3EA5 #CCAC3E #3ECC65
split-complementary
#3E5ECC #CC653E #A5CC3E
monochromatic
#1E3172 #2B46A2 #3E5ECC #6E86D9 #9FAFE6

Accessibility & contrast

On white

5.71
#3E5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3E5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ECC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ECC#FFFFFF#000000##FFFFFF
##3E5ECC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056DD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5ecc;
/* rgb */ color: rgb(62, 94, 204);
/* oklch */ color: oklch(52.1% 0.174 267.7);
Tailwind
colors: {
  custom: {
    50: '#848bdc',
    500: '#3e5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ecc;
$custom-light: #848bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ecc",
  "rgb": {
    "r": 62,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 226.479,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.1744,
    "h": 267.7
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#3E5ECC
secondary
#D2C494
accent
#BE46E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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