#3E5BC8#3E5BC8

#3E5BC8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.173 H 268.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3E5BC8
RGBrgb(62, 91, 200)
HSLhsl(227, 56%, 51%)
HSVhsv(227, 69%, 78%)
CMYKcmyk(69%, 54.5%, 0%, 21.6%)
CIE-LABlab(42.27, 25.77, -59.99)
CIE-LCHlch(42.27, 65.30, 293.25°)
OKLaboklab(51.2% -0.0048 -0.1726)
OKLCHoklch(51.2% 0.173 268.4)
XYZxyz(16.1494, 12.6748, 56.2278)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BC8 #C8AB3E
analogous
#3EA0C8 #3E5BC8 #663EC8
triadic
#3E5BC8 #C83E5B #5BC83E
tetradic
#3E5BC8 #C83EA0 #C8AB3E #3EC866
square
#3E5BC8 #C83EA0 #C8AB3E #3EC866
split-complementary
#3E5BC8 #C8663E #A0C83E
monochromatic
#1F2F6D #2D449C #3E5BC8 #6E83D6 #9DACE3

Accessibility & contrast

On white

5.94
#3E5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3E5BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BC8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BC8#FFFFFF#000000##FFFFFF
##3E5BC81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5bc8;
/* rgb */ color: rgb(62, 91, 200);
/* oklch */ color: oklch(51.2% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#8489d9',
    500: '#3e5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bc8;
$custom-light: #8489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bc8",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 227.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.1727,
    "h": 268.4
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#3E5BC8
secondary
#CFC392
accent
#BF49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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