#3E5BC9#3E5BC9

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

Color values

HEX#3E5BC9
RGBrgb(62, 91, 201)
HSLhsl(227, 56%, 52%)
HSVhsv(227, 69%, 79%)
CMYKcmyk(69.2%, 54.7%, 0%, 21.2%)
CIE-LABlab(42.34, 26.13, -60.46)
CIE-LCHlch(42.34, 65.86, 293.38°)
OKLaboklab(51.27% -0.0048 -0.174)
OKLCHoklch(51.27% 0.174 268.4)
XYZxyz(16.2667, 12.7217, 56.8453)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BC9 #C9AC3E
analogous
#3EA1C9 #3E5BC9 #673EC9
triadic
#3E5BC9 #C93E5B #5BC93E
tetradic
#3E5BC9 #C93EA1 #C9AC3E #3EC967
square
#3E5BC9 #C93EA1 #C9AC3E #3EC967
split-complementary
#3E5BC9 #C9673E #A1C93E
monochromatic
#1F2F6E #2C449E #3E5BC9 #6E84D6 #9EACE4

Accessibility & contrast

On white

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

On black

3.54
#3E5BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3E5BC9#FFFFFF#000000##FFFFFF
##3E5BC91.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5bc9;
/* rgb */ color: rgb(62, 91, 201);
/* oklch */ color: oklch(51.3% 0.174 268.4);
Tailwind
colors: {
  custom: {
    50: '#8489da',
    500: '#3e5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bc9;
$custom-light: #8489da;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bc9",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 227.482,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.17405,
    "h": 268.4
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#3E5BC9
secondary
#D0C393
accent
#C048E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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