#3E5AC8#3E5AC8

#3E5AC8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.174 H 268.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3E5AC8
RGBrgb(62, 90, 200)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 69%, 78%)
CMYKcmyk(69%, 55%, 0%, 21.6%)
CIE-LABlab(42.01, 26.41, -60.42)
CIE-LCHlch(42.01, 65.94, 293.61°)
OKLaboklab(51% -0.004 -0.1739)
OKLCHoklch(51% 0.174 268.7)
XYZxyz(16.0645, 12.5050, 56.1995)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5AC8 #C8AC3E
analogous
#3E9FC8 #3E5AC8 #673EC8
triadic
#3E5AC8 #C83E5A #5AC83E
tetradic
#3E5AC8 #C83E9F #C8AC3E #3EC867
square
#3E5AC8 #C83E9F #C8AC3E #3EC867
split-complementary
#3E5AC8 #C8673E #9FC83E
monochromatic
#1F2F6D #2D439C #3E5AC8 #6E83D6 #9DABE3

Accessibility & contrast

On white

6.00
#3E5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3E5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5AC8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5AC8#FFFFFF#000000##FFFFFF
##3E5AC81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5ac8;
/* rgb */ color: rgb(62, 90, 200);
/* oklch */ color: oklch(51.0% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#8488d9',
    500: '#3e5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3e5ac8;
$custom-light: #8488d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5ac8",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 227.826,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.17394,
    "h": 268.7
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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