#3E5ABA#3E5ABA

#3E5ABA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.155 H 268.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3E5ABA
RGBrgb(62, 90, 186)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 67%, 73%)
CMYKcmyk(66.7%, 51.6%, 0%, 27.1%)
CIE-LABlab(41.03, 21.38, -53.87)
CIE-LCHlch(41.03, 57.96, 291.65°)
OKLaboklab(49.95% -0.005 -0.1546)
OKLCHoklch(49.95% 0.155 268.1)
XYZxyz(14.5027, 11.8803, 47.9737)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5ABA #BA9E3E
analogous
#3E98BA #3E5ABA #603EBA
triadic
#3E5ABA #BA3E5A #5ABA3E
tetradic
#3E5ABA #BA3E98 #BA9E3E #3EBA60
square
#3E5ABA #BA3E98 #BA9E3E #3EBA60
split-complementary
#3E5ABA #BA603E #98BA3E
monochromatic
#1F2E5E #2F448C #3E5ABA #687FCD #96A6DC

Accessibility & contrast

On white

6.22
#3E5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3E5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5ABA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5ABA#FFFFFF#000000##FFFFFF
##3E5ABA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e5aba;
/* rgb */ color: rgb(62, 90, 186);
/* oklch */ color: oklch(49.9% 0.155 268.1);
Tailwind
colors: {
  custom: {
    50: '#8188cf',
    500: '#3e5aba',
    950: '#000000',
  },
}
SCSS
$custom: #3e5aba;
$custom-light: #8188cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5aba",
  "rgb": {
    "r": 62,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 226.452,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.1547,
    "h": 268.1
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#3E5ABA
secondary
#C8BA8C
accent
#BA4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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