#3E5BCA#3E5BCA

#3E5BCA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.175 H 268.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3E5BCA
RGBrgb(62, 91, 202)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(69.3%, 55%, 0%, 20.8%)
CIE-LABlab(42.41, 26.49, -60.92)
CIE-LCHlch(42.41, 66.43, 293.50°)
OKLaboklab(51.35% -0.0047 -0.1753)
OKLCHoklch(51.35% 0.175 268.5)
XYZxyz(16.3847, 12.7689, 57.4668)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BCA #CAAD3E
analogous
#3EA1CA #3E5BCA #673ECA
triadic
#3E5BCA #CA3E5B #5BCA3E
tetradic
#3E5BCA #CA3EA1 #CAAD3E #3ECA67
square
#3E5BCA #CA3EA1 #CAAD3E #3ECA67
split-complementary
#3E5BCA #CA673E #A1CA3E
monochromatic
#1F2F6F #2C449F #3E5BCA #6E84D7 #9EADE4

Accessibility & contrast

On white

5.91
#3E5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E5BCA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BCA#FFFFFF#000000##FFFFFF
##3E5BCA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e5bca;
/* rgb */ color: rgb(62, 91, 202);
/* oklch */ color: oklch(51.3% 0.175 268.5);
Tailwind
colors: {
  custom: {
    50: '#8489db',
    500: '#3e5bca',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bca;
$custom-light: #8489db;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bca",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 227.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51349,
    "c": 0.1754,
    "h": 268.5
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#3E5BCA
secondary
#D1C493
accent
#C148E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3E5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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