#3E5ACA#3E5ACA

#3E5ACA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.177 H 268.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3E5ACA
RGBrgb(62, 90, 202)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(69.3%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.15, 27.13, -61.34)
CIE-LCHlch(42.15, 67.07, 293.86°)
OKLaboklab(51.15% -0.0039 -0.1766)
OKLCHoklch(51.15% 0.177 268.7)
XYZxyz(16.2998, 12.5991, 57.4385)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ACA #CAAE3E
analogous
#3EA0CA #3E5ACA #683ECA
triadic
#3E5ACA #CA3E5A #5ACA3E
tetradic
#3E5ACA #CA3EA0 #CAAE3E #3ECA68
square
#3E5ACA #CA3EA0 #CAAE3E #3ECA68
split-complementary
#3E5ACA #CA683E #A0CA3E
monochromatic
#1F2F6F #2C439F #3E5ACA #6E83D7 #9EACE4

Accessibility & contrast

On white

5.97
#3E5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3E5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ACA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ACA#FFFFFF#000000##FFFFFF
##3E5ACA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5aca;
/* rgb */ color: rgb(62, 90, 202);
/* oklch */ color: oklch(51.2% 0.177 268.7);
Tailwind
colors: {
  custom: {
    50: '#8488db',
    500: '#3e5aca',
    950: '#000000',
  },
}
SCSS
$custom: #3e5aca;
$custom-light: #8488db;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5aca",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 228,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.17663,
    "h": 268.7
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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