#3E5DCC#3E5DCC

#3E5DCC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.176 H 268.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3E5DCC
RGBrgb(62, 93, 204)
HSLhsl(227, 58%, 52%)
HSVhsv(227, 70%, 80%)
CMYKcmyk(69.6%, 54.4%, 0%, 20%)
CIE-LABlab(43.08, 25.93, -60.99)
CIE-LCHlch(43.08, 66.27, 293.03°)
OKLaboklab(51.9% -0.0062 -0.1755)
OKLCHoklch(51.9% 0.176 268)
XYZxyz(16.7963, 13.2108, 58.7798)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DCC #CCAD3E
analogous
#3EA4CC #3E5DCC #663ECC
triadic
#3E5DCC #CC3E5D #5DCC3E
tetradic
#3E5DCC #CC3EA4 #CCAD3E #3ECC66
square
#3E5DCC #CC3EA4 #CCAD3E #3ECC66
split-complementary
#3E5DCC #CC663E #A4CC3E
monochromatic
#1E3072 #2B45A2 #3E5DCC #6E86D9 #9FAEE6

Accessibility & contrast

On white

5.77
#3E5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3E5DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DCC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DCC#FFFFFF#000000##FFFFFF
##3E5DCC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3e5dcc;
/* rgb */ color: rgb(62, 93, 204);
/* oklch */ color: oklch(51.9% 0.176 268.0);
Tailwind
colors: {
  custom: {
    50: '#848adc',
    500: '#3e5dcc',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dcc;
$custom-light: #848adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dcc",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 226.901,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.17563,
    "h": 268
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#3E5DCC
secondary
#D2C494
accent
#C046E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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