#3E5CC9#3E5CC9

#3E5CC9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.173 H 268.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3E5CC9
RGBrgb(62, 92, 201)
HSLhsl(227, 56%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(69.2%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.60, 25.49, -60.03)
CIE-LCHlch(42.60, 65.22, 293.01°)
OKLaboklab(51.47% -0.0056 -0.1727)
OKLCHoklch(51.47% 0.173 268.1)
XYZxyz(16.3527, 12.8939, 56.8740)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CC9 #C9AB3E
analogous
#3EA2C9 #3E5CC9 #663EC9
triadic
#3E5CC9 #C93E5C #5CC93E
tetradic
#3E5CC9 #C93EA2 #C9AB3E #3EC966
square
#3E5CC9 #C93EA2 #C9AB3E #3EC966
split-complementary
#3E5CC9 #C9663E #A2C93E
monochromatic
#1F306E #2C459E #3E5CC9 #6E84D6 #9EADE4

Accessibility & contrast

On white

5.87
#3E5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3E5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CC9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CC9#FFFFFF#000000##FFFFFF
##3E5CC91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5cc9;
/* rgb */ color: rgb(62, 92, 201);
/* oklch */ color: oklch(51.5% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#8489da',
    500: '#3e5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cc9;
$custom-light: #8489da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cc9",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 227.05,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.17281,
    "h": 268.1
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#3E5CC9
secondary
#D0C393
accent
#BF48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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