#3E5CCD#3E5CCD

#3E5CCD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.178 H 268.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3E5CCD
RGBrgb(62, 92, 205)
HSLhsl(227, 59%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(69.8%, 55.1%, 0%, 19.6%)
CIE-LABlab(42.89, 26.93, -61.87)
CIE-LCHlch(42.89, 67.48, 293.52°)
OKLaboklab(51.78% -0.0053 -0.1781)
OKLCHoklch(51.78% 0.178 268.3)
XYZxyz(16.8294, 13.0845, 59.3844)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CCD #CDAF3E
analogous
#3EA3CD #3E5CCD #683ECD
triadic
#3E5CCD #CD3E5C #5CCD3E
tetradic
#3E5CCD #CD3EA3 #CDAF3E #3ECD68
square
#3E5CCD #CD3EA3 #CDAF3E #3ECD68
split-complementary
#3E5CCD #CD683E #A3CD3E
monochromatic
#1E3073 #2A44A3 #3E5CCD #6F85DA #9FAEE6

Accessibility & contrast

On white

5.81
#3E5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CCD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CCD#FFFFFF#000000##FFFFFF
##3E5CCD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5ccd;
/* rgb */ color: rgb(62, 92, 205);
/* oklch */ color: oklch(51.8% 0.178 268.3);
Tailwind
colors: {
  custom: {
    50: '#8589dd',
    500: '#3e5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ccd;
$custom-light: #8589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ccd",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 227.413,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.17821,
    "h": 268.3
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#3E5CCD
secondary
#D3C594
accent
#C146E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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