#3E5DC8#3E5DC8

#3E5DC8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.170 H 267.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3E5DC8
RGBrgb(62, 93, 200)
HSLhsl(227, 56%, 51%)
HSVhsv(227, 69%, 78%)
CMYKcmyk(69%, 53.5%, 0%, 21.6%)
CIE-LABlab(42.80, 24.49, -59.14)
CIE-LCHlch(42.80, 64.01, 292.50°)
OKLaboklab(51.59% -0.0065 -0.1701)
OKLCHoklch(51.59% 0.17 267.8)
XYZxyz(16.3227, 13.0213, 56.2855)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DC8 #C8A93E
analogous
#3EA2C8 #3E5DC8 #643EC8
triadic
#3E5DC8 #C83E5D #5DC83E
tetradic
#3E5DC8 #C83EA2 #C8A93E #3EC864
square
#3E5DC8 #C83EA2 #C8A93E #3EC864
split-complementary
#3E5DC8 #C8643E #A2C83E
monochromatic
#1F306D #2D469C #3E5DC8 #6E85D6 #9DADE3

Accessibility & contrast

On white

5.83
#3E5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3E5DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DC8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DC8#FFFFFF#000000##FFFFFF
##3E5DC81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6CCC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5dc8;
/* rgb */ color: rgb(62, 93, 200);
/* oklch */ color: oklch(51.6% 0.170 267.8);
Tailwind
colors: {
  custom: {
    50: '#838ad9',
    500: '#3e5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dc8;
$custom-light: #838ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dc8",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 226.522,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.17021,
    "h": 267.8
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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