#3E5BB5#3E5BB5

#3E5BB5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.146 H 267.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3E5BB5
RGBrgb(62, 91, 181)
HSLhsl(225, 49%, 48%)
HSVhsv(225, 66%, 71%)
CMYKcmyk(65.7%, 49.7%, 0%, 29%)
CIE-LABlab(40.96, 18.94, -51.04)
CIE-LCHlch(40.96, 54.44, 290.36°)
OKLaboklab(49.79% -0.0065 -0.1463)
OKLCHoklch(49.79% 0.146 267.4)
XYZxyz(14.0653, 11.8412, 45.2514)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BB5 #B5983E
analogous
#3E96B5 #3E5BB5 #5C3EB5
triadic
#3E5BB5 #B53E5B #5BB53E
tetradic
#3E5BB5 #B53E96 #B5983E #3EB55C
square
#3E5BB5 #B53E96 #B5983E #3EB55C
split-complementary
#3E5BB5 #B55C3E #96B53E
monochromatic
#1F2D5A #2E4487 #3E5BB5 #667ECA #93A5DA

Accessibility & contrast

On white

6.23
#3E5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3E5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BB5#FFFFFF#000000##FFFFFF
##3E5BB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#085BB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e5bb5;
/* rgb */ color: rgb(62, 91, 181);
/* oklch */ color: oklch(49.8% 0.146 267.4);
Tailwind
colors: {
  custom: {
    50: '#8089cc',
    500: '#3e5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bb5;
$custom-light: #8089cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bb5",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 225.378,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.14643,
    "h": 267.4
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#3E5BB5
secondary
#C5B789
accent
#B74FD9
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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