#3E5BCC#3E5BCC

#3E5BCC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.178 H 268.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3E5BCC
RGBrgb(62, 91, 204)
HSLhsl(228, 58%, 52%)
HSVhsv(228, 70%, 80%)
CMYKcmyk(69.6%, 55.4%, 0%, 20%)
CIE-LABlab(42.56, 27.21, -61.83)
CIE-LCHlch(42.56, 67.56, 293.75°)
OKLaboklab(51.5% -0.0046 -0.178)
OKLCHoklch(51.5% 0.178 268.5)
XYZxyz(16.6230, 12.8643, 58.7220)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BCC #CCAF3E
analogous
#3EA2CC #3E5BCC #683ECC
triadic
#3E5BCC #CC3E5B #5BCC3E
tetradic
#3E5BCC #CC3EA2 #CCAF3E #3ECC68
square
#3E5BCC #CC3EA2 #CCAF3E #3ECC68
split-complementary
#3E5BCC #CC683E #A2CC3E
monochromatic
#1E2F72 #2B43A2 #3E5BCC #6E84D9 #9FADE6

Accessibility & contrast

On white

5.88
#3E5BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3E5BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BCC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BCC#FFFFFF#000000##FFFFFF
##3E5BCC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5bcc;
/* rgb */ color: rgb(62, 91, 204);
/* oklch */ color: oklch(51.5% 0.178 268.5);
Tailwind
colors: {
  custom: {
    50: '#8489dc',
    500: '#3e5bcc',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bcc;
$custom-light: #8489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bcc",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 227.746,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.1781,
    "h": 268.5
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#3E5BCC
secondary
#D2C594
accent
#C246E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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