#3E5DC9#3E5DC9

#3E5DC9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.172 H 267.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3E5DC9
RGBrgb(62, 93, 201)
HSLhsl(227, 56%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(69.2%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.87, 24.85, -59.60)
CIE-LCHlch(42.87, 64.58, 292.63°)
OKLaboklab(51.67% -0.0064 -0.1714)
OKLCHoklch(51.67% 0.172 267.9)
XYZxyz(16.4399, 13.0682, 56.9030)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DC9 #C9AA3E
analogous
#3EA2C9 #3E5DC9 #653EC9
triadic
#3E5DC9 #C93E5D #5DC93E
tetradic
#3E5DC9 #C93EA2 #C9AA3E #3EC965
square
#3E5DC9 #C93EA2 #C9AA3E #3EC965
split-complementary
#3E5DC9 #C9653E #A2C93E
monochromatic
#1F306E #2C459E #3E5DC9 #6E85D6 #9EADE4

Accessibility & contrast

On white

5.81
#3E5DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3E5DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DC9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DC9#FFFFFF#000000##FFFFFF
##3E5DC91.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6CCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5dc9;
/* rgb */ color: rgb(62, 93, 201);
/* oklch */ color: oklch(51.7% 0.172 267.9);
Tailwind
colors: {
  custom: {
    50: '#848ada',
    500: '#3e5dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dc9;
$custom-light: #848ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dc9",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 226.619,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.17157,
    "h": 267.9
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#3E5DC9
secondary
#D0C293
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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