#3E5ACD#3E5ACD

#3E5ACD is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.181 H 268.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3E5ACD
RGBrgb(62, 90, 205)
HSLhsl(228, 59%, 52%)
HSVhsv(228, 70%, 80%)
CMYKcmyk(69.8%, 56.1%, 0%, 19.6%)
CIE-LABlab(42.37, 28.21, -62.71)
CIE-LCHlch(42.37, 68.76, 294.22°)
OKLaboklab(51.39% -0.0037 -0.1806)
OKLCHoklch(51.39% 0.181 268.8)
XYZxyz(16.6584, 12.7426, 59.3274)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ACD #CDB13E
analogous
#3EA1CD #3E5ACD #6A3ECD
triadic
#3E5ACD #CD3E5A #5ACD3E
tetradic
#3E5ACD #CD3EA1 #CDB13E #3ECD6A
square
#3E5ACD #CD3EA1 #CDB13E #3ECD6A
split-complementary
#3E5ACD #CD6A3E #A1CD3E
monochromatic
#1E2E73 #2A42A3 #3E5ACD #6F84DA #9FADE6

Accessibility & contrast

On white

5.92
#3E5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3E5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ACD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ACD#FFFFFF#000000##FFFFFF
##3E5ACD1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5acd;
/* rgb */ color: rgb(62, 90, 205);
/* oklch */ color: oklch(51.4% 0.181 268.8);
Tailwind
colors: {
  custom: {
    50: '#8588dd',
    500: '#3e5acd',
    950: '#000000',
  },
}
SCSS
$custom: #3e5acd;
$custom-light: #8588dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5acd",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 228.252,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.18067,
    "h": 268.8
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#3E5ACD
secondary
#D3C694
accent
#C346E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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