#3E5FD8#3E5FD8

#3E5FD8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.189 H 267.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3E5FD8
RGBrgb(62, 95, 216)
HSLhsl(227, 66%, 55%)
HSVhsv(227, 71%, 85%)
CMYKcmyk(71.3%, 56%, 0%, 15.3%)
CIE-LABlab(44.47, 28.97, -65.61)
CIE-LCHlch(44.47, 71.72, 293.82°)
OKLaboklab(53.21% -0.0072 -0.1891)
OKLCHoklch(53.21% 0.189 267.8)
XYZxyz(18.4692, 14.1645, 66.7131)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FD8 #D8B73E
analogous
#3EACD8 #3E5FD8 #6A3ED8
triadic
#3E5FD8 #D83E5F #5FD83E
tetradic
#3E5FD8 #D83EAC #D8B73E #3ED86A
square
#3E5FD8 #D83EAC #D8B73E #3ED86A
split-complementary
#3E5FD8 #D86A3E #ACD83E
monochromatic
#1A3081 #2443B4 #3E5FD8 #7189E2 #A4B3ED

Accessibility & contrast

On white

5.48
#3E5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3E5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FD8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FD8#FFFFFF#000000##FFFFFF
##3E5FD81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3e5fd8;
/* rgb */ color: rgb(62, 95, 216);
/* oklch */ color: oklch(53.2% 0.189 267.8);
Tailwind
colors: {
  custom: {
    50: '#878ce5',
    500: '#3e5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fd8;
$custom-light: #878ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fd8",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 227.143,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.18924,
    "h": 267.8
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#3E5FD8
secondary
#D9CC98
accent
#C53EE9
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3E5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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