#3E5FB5#3E5FB5

#3E5FB5 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.141 H 265.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3E5FB5
RGBrgb(62, 95, 181)
HSLhsl(223, 49%, 48%)
HSVhsv(223, 66%, 71%)
CMYKcmyk(65.7%, 47.5%, 0%, 29%)
CIE-LABlab(42.07, 16.36, -49.27)
CIE-LCHlch(42.07, 51.91, 288.37°)
OKLaboklab(50.63% -0.0104 -0.141)
OKLCHoklch(50.63% 0.141 265.8)
XYZxyz(14.4164, 12.5434, 45.3685)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FB5 #B5943E
analogous
#3E9BB5 #3E5FB5 #583EB5
triadic
#3E5FB5 #B53E5F #5FB53E
tetradic
#3E5FB5 #B53E9B #B5943E #3EB558
square
#3E5FB5 #B53E9B #B5943E #3EB558
split-complementary
#3E5FB5 #B5583E #9BB53E
monochromatic
#1F2F5A #2E4787 #3E5FB5 #6682CA #93A7DA

Accessibility & contrast

On white

5.98
#3E5FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3E5FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FB5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FB5#FFFFFF#000000##FFFFFF
##3E5FB51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#1B5EB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5fb5;
/* rgb */ color: rgb(62, 95, 181);
/* oklch */ color: oklch(50.6% 0.141 265.8);
Tailwind
colors: {
  custom: {
    50: '#808bcc',
    500: '#3e5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fb5;
$custom-light: #808bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fb5",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 223.361,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.14138,
    "h": 265.8
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#3E5FB5
secondary
#C5B589
accent
#B24FD9
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3E5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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