#3E5FCA#3E5FCA

#3E5FCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.170 H 267.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3E5FCA
RGBrgb(62, 95, 202)
HSLhsl(226, 57%, 52%)
HSVhsv(226, 69%, 79%)
CMYKcmyk(69.3%, 53%, 0%, 20.8%)
CIE-LABlab(43.46, 23.93, -59.21)
CIE-LCHlch(43.46, 63.87, 292.01°)
OKLaboklab(52.14% -0.008 -0.1703)
OKLCHoklch(52.14% 0.17 267.3)
XYZxyz(16.7358, 13.4711, 57.5839)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FCA #CAA93E
analogous
#3EA5CA #3E5FCA #633ECA
triadic
#3E5FCA #CA3E5F #5FCA3E
tetradic
#3E5FCA #CA3EA5 #CAA93E #3ECA63
square
#3E5FCA #CA3EA5 #CAA93E #3ECA63
split-complementary
#3E5FCA #CA633E #A5CA3E
monochromatic
#1F326F #2C479F #3E5FCA #6E87D7 #9EAFE4

Accessibility & contrast

On white

5.68
#3E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3E5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FCA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FCA#FFFFFF#000000##FFFFFF
##3E5FCA1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3e5fca;
/* rgb */ color: rgb(62, 95, 202);
/* oklch */ color: oklch(52.1% 0.170 267.3);
Tailwind
colors: {
  custom: {
    50: '#848bdb',
    500: '#3e5fca',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fca;
$custom-light: #848bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fca",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 225.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.17046,
    "h": 267.3
  },
  "luminance": 0.13473
}

Semantic roles & 50–950 ramp

primary
#3E5FCA
secondary
#D1C293
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3E5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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