#3E5CCC#3E5CCC

#3E5CCC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.177 H 268.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3E5CCC
RGBrgb(62, 92, 204)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(69.6%, 54.9%, 0%, 20%)
CIE-LABlab(42.82, 26.57, -61.41)
CIE-LCHlch(42.82, 66.91, 293.40°)
OKLaboklab(51.7% -0.0054 -0.1768)
OKLCHoklch(51.7% 0.177 268.2)
XYZxyz(16.7091, 13.0364, 58.7507)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CCC #CCAE3E
analogous
#3EA3CC #3E5CCC #673ECC
triadic
#3E5CCC #CC3E5C #5CCC3E
tetradic
#3E5CCC #CC3EA3 #CCAE3E #3ECC67
square
#3E5CCC #CC3EA3 #CCAE3E #3ECC67
split-complementary
#3E5CCC #CC673E #A3CC3E
monochromatic
#1E3072 #2B44A2 #3E5CCC #6E85D9 #9FAEE6

Accessibility & contrast

On white

5.82
#3E5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3E5CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CCC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CCC#FFFFFF#000000##FFFFFF
##3E5CCC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5ccc;
/* rgb */ color: rgb(62, 92, 204);
/* oklch */ color: oklch(51.7% 0.177 268.2);
Tailwind
colors: {
  custom: {
    50: '#8489dc',
    500: '#3e5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ccc;
$custom-light: #8489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ccc",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 227.324,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.17686,
    "h": 268.2
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#3E5CCC
secondary
#D2C594
accent
#C146E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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