#3E5CC8#3E5CC8

#3E5CC8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.171 H 268.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3E5CC8
RGBrgb(62, 92, 200)
HSLhsl(227, 56%, 51%)
HSVhsv(227, 69%, 78%)
CMYKcmyk(69%, 54%, 0%, 21.6%)
CIE-LABlab(42.53, 25.13, -59.57)
CIE-LCHlch(42.53, 64.65, 292.88°)
OKLaboklab(51.39% -0.0057 -0.1714)
OKLCHoklch(51.39% 0.171 268.1)
XYZxyz(16.2355, 12.8470, 56.2565)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CC8 #C8AA3E
analogous
#3EA1C8 #3E5CC8 #653EC8
triadic
#3E5CC8 #C83E5C #5CC83E
tetradic
#3E5CC8 #C83EA1 #C8AA3E #3EC865
square
#3E5CC8 #C83EA1 #C8AA3E #3EC865
split-complementary
#3E5CC8 #C8653E #A1C83E
monochromatic
#1F306D #2D459C #3E5CC8 #6E84D6 #9DACE3

Accessibility & contrast

On white

5.88
#3E5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3E5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CC8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CC8#FFFFFF#000000##FFFFFF
##3E5CC81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5cc8;
/* rgb */ color: rgb(62, 92, 200);
/* oklch */ color: oklch(51.4% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#8489d9',
    500: '#3e5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cc8;
$custom-light: #8489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cc8",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 226.957,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.17145,
    "h": 268.1
  },
  "luminance": 0.12849
}

Semantic roles & 50–950 ramp

primary
#3E5CC8
secondary
#CFC292
accent
#BE49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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